aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authornathansmith <nathansmith@posteo.com>2025-04-29 14:04:51 +0000
committernathansmith <nathansmith@posteo.com>2025-04-29 14:04:51 +0000
commitffd314a245632a85ba5f310e8d86937091886d4d (patch)
tree2816cb5158e1e3d414cdce9f9273f426a9410f63 /src/Makefile
parent6d338602aa98cc9dfab39b83702af0e548286596 (diff)
downloadsldj-ffd314a245632a85ba5f310e8d86937091886d4d.tar.gz
sldj-ffd314a245632a85ba5f310e8d86937091886d4d.tar.bz2
sldj-ffd314a245632a85ba5f310e8d86937091886d4d.zip
Slow adhd work
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 4d2ca1f..10581e7 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,4 +1,4 @@
-CFLAGS = -Isrc -I../include -std=c99
+CFLAGS = -Isrc -I../include -std=gnu99
LDFLAGS = -lm -lraylib -ltcc
TARGET = sldj
@@ -12,6 +12,8 @@ $(TARGET): $(OBJECTS) $(LIBSLDJ)
$(CC) $(CFLAGS) -o $(TARGET) $(OBJECTS) $(wildcard "libsldj/*.o") $(LDFLAGS)
$(LIBSLDJ): $(wildcard libsldj/*.c libsldj/*.h)
@$(MAKE) -C libsldj
+
+.PHONY: clean
clean:
rm *.o
rm $(TARGET)