We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e1a024 commit b1cc1bfCopy full SHA for b1cc1bf
1 file changed
Makefile
@@ -1,8 +1,9 @@
1
# Makefile for atg, a tiny gui for SDL
2
-PREFIX := /usr/local
3
-MONOFONTPATH := $$(find /usr/share/fonts -name LiberationMono-Regular.ttf -print -quit)
4
-CC := gcc
5
-CFLAGS := -Wall -Wextra -Werror -pedantic --std=gnu99 -g -DMONOFONTPATH=\"$(MONOFONTPATH)\"
+PREFIX ?= /usr/local
+FONTSPATH ?= /usr/share/fonts
+MONOFONTPATH != find ${FONTSPATH} -name LiberationMono-Regular.ttf -print -quit
+CC ?= gcc
6
+CFLAGS += -Wall -Wextra -Werror -pedantic --std=gnu99 -g -DMONOFONTPATH=\"$(MONOFONTPATH)\"
7
SDL := `sdl-config --libs` -lSDL_ttf
8
SDLFLAGS := `sdl-config --cflags`
9
OBJS := atg.o plumbing.o w_box.o w_label.o w_image.o w_button.o w_spinner.o w_toggle.o w_filepicker.o
0 commit comments