summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorNick White <hg@njw.me.uk>2011-07-16 23:48:08 +0100
committerNick White <hg@njw.me.uk>2011-07-16 23:48:08 +0100
commit721770691c964dbd630716add95a362a0cecba4d (patch)
treec5008e66211b617b9c77e82a4af005ca8e5501b8 /config.mk
parentc2892e23ef3aa063812714323b5e8f9ebe0fc318 (diff)
Improve build system
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..42c5654
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,13 @@
+# See COPYING file for copyright, license and warranty details.
+VERSION = prealpha
+
+# paths
+PREFIX = /usr/local
+
+# flags
+CFLAGS = -ansi -pedantic -Wall -Wextra -Werror -g -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\"
+LDFLAGS =
+
+# compiler and linker
+CC = cc
+LD = ld