make dist
parent
d39aafe416
commit
b2aa08fdd3
8
makefile
8
makefile
|
@ -5,11 +5,15 @@ BIN=siphash24_test siphash24_test_debug
|
||||||
all: $(BIN)
|
all: $(BIN)
|
||||||
|
|
||||||
siphash24_test: siphash24.c main.c
|
siphash24_test: siphash24.c main.c
|
||||||
gcc $(CFLAGS) $^ -o $@
|
$(CC) $(CFLAGS) $^ -o $@
|
||||||
|
|
||||||
siphash24_test_debug: siphash24.c main.c
|
siphash24_test_debug: siphash24.c main.c
|
||||||
gcc $(CFLAGS) $^ -o $@ -DDEBUG
|
$(CC) $(CFLAGS) $^ -o $@ -DDEBUG
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o $(BIN)
|
rm -f *.o $(BIN)
|
||||||
|
|
||||||
|
dist: clean
|
||||||
|
cd ..; \
|
||||||
|
tar zcf SipHash-`date +%Y%m%d%H%M`.tgz SipHash/*
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue