aboutsummaryrefslogtreecommitdiff
path: root/makefile
blob: 7847e2a4d0ea15c207c0a334d1de2b6efd5e83ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CC=gcc
CFLAGS=-Wall
SRC=siphash.c halfsiphash.c test.c
BIN=test debug

all:                    $(BIN)

test:                   $(SRC)
			$(CC) $(CFLAGS) $^ -o $@

debug:                  $(SRC) 
			$(CC) $(CFLAGS) $^ -o $@ -DDEBUG

clean:
			rm -f *.o $(BIN)

dist:                   clean
			cd ..; \
	                tar zcf SipHash-`date +%Y%m%d%H%M`.tgz SipHash/*