summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-11-20 22:28:38 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-11-20 22:28:38 -0500
commit5e458dff3bcc832b0b28d83bd3ef482174d1dc09 (patch)
tree28ac081edae5d36aad5df5b2e53848034dc2b99c /Makefile
parentc3fd9dfa23969c842991da4cd852330288889463 (diff)
more text rendering
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 42064a0..e10bdc9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
ALL_CFLAGS=$(CFLAGS) -Wall -Wextra -Wshadow -Wconversion -Wpedantic -pedantic -std=gnu11 \
-Wno-unused-function -Wno-fixed-enum-extension -Wimplicit-fallthrough
-LIBS=-lSDL2 -lGL -ldl
-DEBUG_CFLAGS=$(ALL_CFLAGS) $(LIBS) -DDEBUG -O0 -g
+LIBS=-lSDL2 -lGL -ldl -lm
+DEBUG_CFLAGS=$(ALL_CFLAGS) -DDEBUG -O0 -g
ted: *.[ch] text.o
- $(CC) main.c text.o -o $@ $(DEBUG_CFLAGS)
+ $(CC) main.c text.o -o $@ $(DEBUG_CFLAGS) $(LIBS)
%.o: %.c
$(CC) $< -c -o $@ $(DEBUG_CFLAGS)