summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..f219d91
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,14 @@
+# Initial Version
+VERSION = 0.1
+
+PKGS = sdl2 SDL2_gfx
+
+INCS = `pkg-config --cflags $(PKGS)`
+LIBS = `pkg-config --libs $(PKGS)` -lSDL2_ttf -lm
+
+# flags
+CFLAGS = -pedantic -Wall -Wextra -Werror -O3 ${INCS}
+LDFLAGS = ${LIBS}
+
+# compiler and linker
+CC = gcc