From e802f9cc563abdb6f3ee4c4137edc6f293fdd8d2 Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Tue, 10 Sep 2019 08:43:15 -0400 Subject: Make *c* and *d* rounds less intrusively configurable --- makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'makefile') 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) -- cgit v1.2.3