diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-11-20 16:58:59 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-11-20 16:58:59 -0500 |
commit | c3fd9dfa23969c842991da4cd852330288889463 (patch) | |
tree | 1a2e390ae57109febea9a5853ef9f04559d1f820 /Makefile | |
parent | c376f6f53f737d6220206baa323c0bc62d48a9f0 (diff) |
started text rendering
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2,5 +2,7 @@ ALL_CFLAGS=$(CFLAGS) -Wall -Wextra -Wshadow -Wconversion -Wpedantic -pedantic -s -Wno-unused-function -Wno-fixed-enum-extension -Wimplicit-fallthrough LIBS=-lSDL2 -lGL -ldl DEBUG_CFLAGS=$(ALL_CFLAGS) $(LIBS) -DDEBUG -O0 -g -ted: *.[ch] - $(CC) main.c -o $@ $(DEBUG_CFLAGS) +ted: *.[ch] text.o + $(CC) main.c text.o -o $@ $(DEBUG_CFLAGS) +%.o: %.c + $(CC) $< -c -o $@ $(DEBUG_CFLAGS) |