aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/*
+