make dist

main
JP Aumasson 2014-03-23 13:41:25 +01:00
parent d39aafe416
commit b2aa08fdd3
1 changed files with 6 additions and 2 deletions

View File

@ -5,11 +5,15 @@ BIN=siphash24_test siphash24_test_debug
all: $(BIN)
siphash24_test: siphash24.c main.c
gcc $(CFLAGS) $^ -o $@
$(CC) $(CFLAGS) $^ -o $@
siphash24_test_debug: siphash24.c main.c
gcc $(CFLAGS) $^ -o $@ -DDEBUG
$(CC) $(CFLAGS) $^ -o $@ -DDEBUG
clean:
rm -f *.o $(BIN)
dist: clean
cd ..; \
tar zcf SipHash-`date +%Y%m%d%H%M`.tgz SipHash/*