summaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..a1ed858
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,8 @@
+# version
+VERSION = $(shell git describe --always)
+
+# compiler flags
+CC = c99
+CPPFLAGS = -DVERSION=\"${VERSION}\"
+CFLAGS += -g -pedantic -Wall -Wextra ${CPPFLAGS}
+LDFLAGS += -lalpm