summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbie <bie@blekksprut.net>2016-11-08 21:20:08 +0100
committerbie <bie@blekksprut.net>2016-11-08 21:20:08 +0100
commitf2dfa757e24b0073ed8a9d3703d6b6b52ac1a3d3 (patch)
treedf8cec8ace88f9b3ef0829cd2997bb568cf27ff5 /Makefile
downloadgodzilla-f2dfa757e24b0073ed8a9d3703d6b6b52ac1a3d3.tar.xz
godzilla våkner
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..15311e6
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+VERSION = 0.1
+
+CFLAGS += -Wall -Os -pedantic -std=c99
+CFLAGS += -DVERSION=\"${VERSION}\"
+
+all: godzilla
+
+again: clean all
+
+clean:
+ rm -f godzilla
+
+config.h:
+ cp config.def.h $@
+
+godzilla: config.h godzilla.c
+ ${CC} ${CFLAGS} -o godzilla godzilla.c -lcrypt
+