diff options
| author | JP Aumasson <jeanphilippe.aumasson@gmail.com> | 2014-11-08 18:43:13 +0100 |
|---|---|---|
| committer | JP Aumasson <jeanphilippe.aumasson@gmail.com> | 2014-11-08 18:43:13 +0100 |
| commit | bd07457f3410fa8086bcd7f7fa4d226b6152e210 (patch) | |
| tree | 3df02574147b7b13195bbda20e0b0a34f2bbcb46 /makefile | |
| parent | ip statement (diff) | |
| download | siphash-bd07457f3410fa8086bcd7f7fa4d226b6152e210.tar.gz siphash-bd07457f3410fa8086bcd7f7fa4d226b6152e210.tar.xz | |
experimental 128-bit mode
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 30 |
1 files changed, 20 insertions, 10 deletions
@@ -1,19 +1,29 @@ CC=gcc CFLAGS=-Wall -BIN=siphash24_test siphash24_test_debug +SRC=siphash24.c main.c +BIN=siphash24_test siphash24_debug +BIN_DOUBLE=siphash24_test_double siphash24_debug_double -all: $(BIN) +all: $(BIN) -siphash24_test: siphash24.c main.c - $(CC) $(CFLAGS) $^ -o $@ +siphash24_test: $(SRC) + $(CC) $(CFLAGS) $^ -o $@ -siphash24_test_debug: siphash24.c main.c - $(CC) $(CFLAGS) $^ -o $@ -DDEBUG +siphash24_debug: $(SRC) + $(CC) $(CFLAGS) $^ -o $@ -DDEBUG + +double: $(BIN_DOUBLE) + +siphash24_test_double: $(SRC) + $(CC) $(CFLAGS) $^ -o $@ -DDOUBLE + +siphash24_debug_double: $(SRC) + $(CC) $(CFLAGS) $^ -o $@ -DDOUBLE -DDEBUG clean: - rm -f *.o $(BIN) + rm -f *.o $(BIN) $(BIN_DOUBLE) -dist: clean - cd ..; \ - tar zcf SipHash-`date +%Y%m%d%H%M`.tgz SipHash/* +dist: clean + cd ..; \ + tar zcf SipHash-`date +%Y%m%d%H%M`.tgz SipHash/* |
