aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f47959a..db6d657 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,20 @@
SHELL = /bin/sh
CC = clang
CFLAGS = -ggdb -Wall -Wextra -std=c99
-LDFLAGS = `pkg-config --libs libssl`
+# -lpthread is only there for debugging (gdb & errno)
+LDFLAGS = `pkg-config --libs libssl` -lpthread
.PHONY: all clean
-targets = zyklonb
+targets = zyklonb kike
all: $(targets)
clean:
rm -f $(targets)
-zyklonb: src/zyklonb.c src/siphash.c
- $(CC) $^ -o $@ $(CFLAGS) $(LDFLAGS)
+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)