diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-08-10 03:46:49 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-08-10 03:46:49 +0200 |
commit | ecc4b4206e268cf6fb4c01bceff647096914fa47 (patch) | |
tree | 499782cc16504c40cdbca41b494ed25795ccca57 | |
parent | 9977a07353f5c7f84c14653df85fd18a17b824d1 (diff) | |
download | xK-ecc4b4206e268cf6fb4c01bceff647096914fa47.tar.gz xK-ecc4b4206e268cf6fb4c01bceff647096914fa47.tar.xz xK-ecc4b4206e268cf6fb4c01bceff647096914fa47.zip |
kike: fix the Makefile
-rw-r--r-- | Makefile | 5 | ||||
-rwxr-xr-x | kike-gen-replies.sh | 2 |
2 files changed, 4 insertions, 3 deletions
@@ -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; |