diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 ..; \ |