summaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-11-28 11:32:14 -0500
committerDave Reisner <d@falconindy.com>2010-11-30 14:18:03 -0500
commit9cde8d2afd5dbedf542d08cfd21dc01fd271b313 (patch)
tree891d76e13a17162a9756b883bd486677d50e1890 /config.mk
downloadexpac-9cde8d2afd5dbedf542d08cfd21dc01fd271b313.tar.xz
initial commit
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