diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-08-10 00:47:26 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-08-10 00:47:26 +0200 |
commit | 126c07b70a7f3217845ffbdf2a001af355755d7c (patch) | |
tree | 18dd0b8caa0b2b7a46dcd2d1044a5b0f5393d065 /Makefile | |
parent | bd68e28b608fb74bb4823726b9f0bf6489ad94b5 (diff) | |
download | xK-126c07b70a7f3217845ffbdf2a001af355755d7c.tar.gz xK-126c07b70a7f3217845ffbdf2a001af355755d7c.tar.xz xK-126c07b70a7f3217845ffbdf2a001af355755d7c.zip |
kike: generate replies from a single text file
It became a bit difficult to maintain two separate lists. Besides, the inverse
generation of a message catalog from source code was a bit strange.
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 < $< > $@ |