summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-11-23 18:29:58 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-11-23 18:29:58 -0500
commit55d0ece0a9072ca409bdf6ff2f3b6d0b268e2952 (patch)
tree5df0cbfacf3d9442ddb34fdf5fb3b59f4e74d82e /Makefile
parent5e458dff3bcc832b0b28d83bd3ef482174d1dc09 (diff)
unicode text rendering working
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