summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-04 16:56:28 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-04 16:56:28 -0500
commit12d80d643f77a0eab18cb1278793aee006bcf289 (patch)
treefcbed30a67fc157254fc2163e388dc198b166eb2 /Makefile
parent79766eb49ee18073da2950c22a271e5820b9f740 (diff)
started modern opengl
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e3823f3..23fddd6 100644
--- a/Makefile
+++ b/Makefile
@@ -7,14 +7,12 @@ PROFILE_CFLAGS=$(ALL_CFLAGS) -O3 -DPROFILE=1
GLOBAL_DATA_DIR=/usr/share/ted
LOCAL_DATA_DIR=/home/`logname`/.local/share/ted
INSTALL_BIN_DIR=/usr/bin
-ted: *.[ch] text.o
- $(CC) main.c text.o -o ted $(DEBUG_CFLAGS) $(LIBS)
+ted: *.[ch]
+ $(CC) main.c -o ted $(DEBUG_CFLAGS) $(LIBS)
release: *.[ch]
$(CC) main.c -o ted $(RELEASE_CFLAGS) $(LIBS)
profile: *.[ch]
$(CC) main.c -o ted $(PROFILE_CFLAGS) $(LIBS)
-text.o: text.c text.h base.h lib/stb_truetype.h
- $(CC) text.c -c -o $@ $(DEBUG_CFLAGS)
clean:
rm -f ted *.o
install: release