summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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
+