diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -8,19 +8,20 @@ CFLAGS = -std=c99 -Wall -Wextra -Wno-unused-function \ LDFLAGS = `pkg-config --libs libssl` -lpthread .PHONY: all clean +.SUFFIXES: targets = zyklonb kike kike.msg all: $(targets) clean: - rm -f $(targets) + rm -f $(targets) kike-replies.c -zyklonb: src/zyklonb.c src/common.c src/siphash.c - $(CC) src/zyklonb.c src/siphash.c -o $@ $(CFLAGS) $(LDFLAGS) +zyklonb: zyklonb.c common.c siphash.c + $(CC) zyklonb.c siphash.c -o $@ $(CFLAGS) $(LDFLAGS) +kike: kike.c common.c siphash.c kike-replies.c + $(CC) kike.c 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) -kike.msg: src/kike.c - $(SHELL) kike-extract-messages.sh < $< > $@ +kike-replies.c kike.msg: kike-replies + $(SHELL) kike-gen-replies.sh < $< > $@ |