siphash/makefile

20 lines
374 B
Makefile
Raw Normal View History

2014-03-23 10:53:31 +00:00
CC=gcc
CFLAGS=-Wall
BIN=siphash24_test siphash24_test_debug
all: $(BIN)
siphash24_test: siphash24.c main.c
2014-03-23 12:41:25 +00:00
$(CC) $(CFLAGS) $^ -o $@
2014-03-23 10:53:31 +00:00
siphash24_test_debug: siphash24.c main.c
2014-03-23 12:41:25 +00:00
$(CC) $(CFLAGS) $^ -o $@ -DDEBUG
2014-03-23 10:53:31 +00:00
clean:
rm -f *.o $(BIN)
2014-03-23 12:41:25 +00:00
dist: clean
cd ..; \
tar zcf SipHash-`date +%Y%m%d%H%M`.tgz SipHash/*