summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e10bdc9..0b720c0 100644
--- a/Makefile
+++ b/Makefile
@@ -4,5 +4,7 @@ LIBS=-lSDL2 -lGL -ldl -lm
DEBUG_CFLAGS=$(ALL_CFLAGS) -DDEBUG -O0 -g
ted: *.[ch] text.o
$(CC) main.c text.o -o $@ $(DEBUG_CFLAGS) $(LIBS)
-%.o: %.c
- $(CC) $< -c -o $@ $(DEBUG_CFLAGS)
+text.o: text.c text.h base.h lib/stb_truetype.h
+ $(CC) text.c -c -o $@ $(DEBUG_CFLAGS)
+clean:
+ rm -f ted *.o