From b2aa08fdd31090dcdc393713b8c1481033161abe Mon Sep 17 00:00:00 2001 From: JP Aumasson Date: Sun, 23 Mar 2014 13:41:25 +0100 Subject: [PATCH] make dist --- makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 203db03..168b194 100644 --- a/makefile +++ b/makefile @@ -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/* +