From 93ca99dcfa6a32b1b617e9a5c3c044685254ce8e Mon Sep 17 00:00:00 2001 From: JP Aumasson Date: Sat, 17 Dec 2016 14:14:22 +0100 Subject: autogen vectors, tweaked hsiphash --- makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index 7847e2a..8cf194a 100644 --- a/makefile +++ b/makefile @@ -1,7 +1,7 @@ CC=gcc -CFLAGS=-Wall +CFLAGS=-Wall --std=c99 SRC=siphash.c halfsiphash.c test.c -BIN=test debug +BIN=test debug vectors all: $(BIN) @@ -11,8 +11,15 @@ test: $(SRC) debug: $(SRC) $(CC) $(CFLAGS) $^ -o $@ -DDEBUG +vectors: $(SRC) + $(CC) $(CFLAGS) $^ -o $@ -DGETVECTORS + + clean: rm -f *.o $(BIN) +format: + clang-format -style="{BasedOnStyle: llvm, IndentWidth: 4}" \ + -i *.c *.h dist: clean cd ..; \ -- cgit v1.2.3