diff options
author | JP Aumasson <jeanphilippe.aumasson@gmail.com> | 2016-01-20 09:00:45 -0500 |
---|---|---|
committer | JP Aumasson <jeanphilippe.aumasson@gmail.com> | 2016-01-20 09:00:45 -0500 |
commit | 84f195547227d115d107a44488da54adc98ffed1 (patch) | |
tree | 742a548a84af0cc23dc77ddfebf8ca5e18627a34 /makefile | |
parent | reformat (diff) | |
download | siphash-84f195547227d115d107a44488da54adc98ffed1.tar.gz siphash-84f195547227d115d107a44488da54adc98ffed1.tar.xz |
recover deleted files
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100644 index 0000000..af36414 --- /dev/null +++ b/makefile @@ -0,0 +1,28 @@ +CC=gcc +CFLAGS=-Wall +SRC=siphash24.c main.c +BIN=siphash24_test siphash24_debug +BIN_DOUBLE=siphash24_test_double siphash24_debug_double + +all: $(BIN) + +siphash24_test: $(SRC) + $(CC) $(CFLAGS) $^ -o $@ + +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) $(BIN_DOUBLE) + +dist: clean + cd ..; \ + tar zcf SipHash-`date +%Y%m%d%H%M`.tgz SipHash/* |