summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-11-20 16:20:00 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-11-20 16:20:00 -0500
commitc376f6f53f737d6220206baa323c0bc62d48a9f0 (patch)
tree364d5916797718b5339271f768c883e5fd799b67 /Makefile
opening a window
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)