aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJP Aumasson <jeanphilippe.aumasson@gmail.com>2014-03-23 13:41:25 +0100
committerJP Aumasson <jeanphilippe.aumasson@gmail.com>2014-03-23 13:41:25 +0100
commitb2aa08fdd31090dcdc393713b8c1481033161abe (patch)
tree516cf5acc81ca59c96bae45020e515bd33b0bef3
parentcode formatting (diff)
downloadsiphash-b2aa08fdd31090dcdc393713b8c1481033161abe.tar.gz
siphash-b2aa08fdd31090dcdc393713b8c1481033161abe.tar.xz
make dist
-rw-r--r--makefile8
1 files 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/*
+