aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/makefile b/makefile
index 8cf194a..eebe3e9 100644
--- a/makefile
+++ b/makefile
@@ -3,6 +3,14 @@ CFLAGS=-Wall --std=c99
SRC=siphash.c halfsiphash.c test.c
BIN=test debug vectors
+ifneq ($(cROUNDS),)
+CFLAGS:=$(CFLAGS) -DcROUNDS=$(cROUNDS)
+endif
+
+ifneq ($(dROUNDS),)
+CFLAGS:=$(CFLAGS) -DdROUNDS=$(dROUNDS)
+endif
+
all: $(BIN)
test: $(SRC)