summaryrefslogtreecommitdiffstats
path: root/makefont/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefont/Makefile')
-rw-r--r--makefont/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/makefont/Makefile b/makefont/Makefile
new file mode 100644
index 0000000..28b5601
--- /dev/null
+++ b/makefont/Makefile
@@ -0,0 +1,11 @@
+CC = gcc
+#DFLG = -g
+CFLAGS = $(DFLG) -O2 -Wall $(shell sdl-config --cflags)
+LDFLAGS = $(DFLG) $(shell sdl-config --libs) -lSDL_ttf
+
+all: makefont
+makefont: makefont.c
+clean:
+ rm -f *.o makefont
+test: all
+ ./makefont