aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rwxr-xr-xkike-gen-replies.sh2
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ed73294..34acd79 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ LDFLAGS = `pkg-config --libs libssl` -lpthread
.PHONY: all clean
.SUFFIXES:
-targets = zyklonb kike kike.msg
+targets = zyklonb kike
all: $(targets)
@@ -22,6 +22,7 @@ zyklonb: zyklonb.c common.c siphash.c
kike: kike.c common.c siphash.c kike-replies.c
$(CC) kike.c siphash.c -o $@ $(CFLAGS) $(LDFLAGS)
-kike-replies.c kike.msg: kike-replies
+# Generates kike.msg as a by-product
+kike-replies.c: kike-replies
$(SHELL) kike-gen-replies.sh < $< > $@
diff --git a/kike-gen-replies.sh b/kike-gen-replies.sh
index 7318608..004da2b 100755
--- a/kike-gen-replies.sh
+++ b/kike-gen-replies.sh
@@ -1,7 +1,7 @@
#!/bin/sh
LC_ALL=C exec awk '
BEGIN {
- # The message catalog is a byproduct
+ # The message catalog is a by-product
msg = "kike.msg"
print "$quote \"" > msg;
print "$set 1" > msg;