aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJP Aumasson <jeanphilippe.aumasson@gmail.com>2014-03-23 11:53:31 +0100
committerJP Aumasson <jeanphilippe.aumasson@gmail.com>2014-03-23 11:53:31 +0100
commite1e923ecef5da252b3ecc2eec9d7f87d4c7901b8 (patch)
treed681602f364b9ed299d9bab841623268619151d0 /makefile
parentInitial commit (diff)
downloadsiphash-e1e923ecef5da252b3ecc2eec9d7f87d4c7901b8.tar.gz
siphash-e1e923ecef5da252b3ecc2eec9d7f87d4c7901b8.tar.xz
code and readme
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)
+