aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: db6d657f8fc478a94dc1f6cd0404f135b54efd31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SHELL = /bin/sh
CC = clang
CFLAGS = -ggdb -Wall -Wextra -std=c99
# -lpthread is only there for debugging (gdb & errno)
LDFLAGS = `pkg-config --libs libssl` -lpthread

.PHONY: all clean

targets = zyklonb kike

all: $(targets)

clean:
	rm -f $(targets)

zyklonb: src/zyklonb.c src/common.c src/siphash.c
	$(CC) src/zyklonb.c src/siphash.c -o $@ $(CFLAGS) $(LDFLAGS)
kike: src/kike.c src/common.c src/siphash.c
	$(CC) src/kike.c src/siphash.c -o $@ $(CFLAGS) $(LDFLAGS)