summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..ad7b1d1
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,6 @@
+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
+ted: *.[ch]
+ $(CC) main.c -o $@ $(DEBUG_CFLAGS)