aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..203db03
--- /dev/null
+++ b/makefile
@@ -0,0 +1,15 @@
+CC=gcc
+CFLAGS=-Wall
+BIN=siphash24_test siphash24_test_debug
+
+all: $(BIN)
+
+siphash24_test: siphash24.c main.c
+ gcc $(CFLAGS) $^ -o $@
+
+siphash24_test_debug: siphash24.c main.c
+ gcc $(CFLAGS) $^ -o $@ -DDEBUG
+
+clean:
+ rm -f *.o $(BIN)
+