From 126c07b70a7f3217845ffbdf2a001af355755d7c Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sun, 10 Aug 2014 00:47:26 +0200
Subject: 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.
---
Makefile | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
(limited to 'Makefile')
diff --git a/Makefile b/Makefile
index 55b236a..ed73294 100644
--- a/Makefile
+++ b/Makefile
@@ -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 < $< > $@
--
cgit v1.2.3-70-g09d2