diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |