diff options
author | Kyle Altendorf <sda@fstab.net> | 2019-09-10 08:43:15 -0400 |
---|---|---|
committer | Kyle Altendorf <sda@fstab.net> | 2019-09-10 08:43:23 -0400 |
commit | e802f9cc563abdb6f3ee4c4137edc6f293fdd8d2 (patch) | |
tree | 341fa5f8d011756778a1932c0325b958ada0041f /makefile | |
parent | Merge pull request #13 from altendky/use_UINTxx_C_macros (diff) | |
download | siphash-e802f9cc563abdb6f3ee4c4137edc6f293fdd8d2.tar.gz siphash-e802f9cc563abdb6f3ee4c4137edc6f293fdd8d2.tar.xz |
Make *c* and *d* rounds less intrusively configurable
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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) |