Browse Source

kike: fix the Makefile

Přemysl Janouch 4 years ago
parent
commit
ecc4b4206e
2 changed files with 4 additions and 3 deletions
  1. 3
    2
      Makefile
  2. 1
    1
      kike-gen-replies.sh

+ 3
- 2
Makefile View File

@@ -10,7 +10,7 @@ LDFLAGS = `pkg-config --libs libssl` -lpthread
10 10
 .PHONY: all clean
11 11
 .SUFFIXES:
12 12
 
13
-targets = zyklonb kike kike.msg
13
+targets = zyklonb kike
14 14
 
15 15
 all: $(targets)
16 16
 
@@ -22,6 +22,7 @@ zyklonb: zyklonb.c common.c siphash.c
22 22
 kike: kike.c common.c siphash.c kike-replies.c
23 23
 	$(CC) kike.c siphash.c -o $@ $(CFLAGS) $(LDFLAGS)
24 24
 
25
-kike-replies.c kike.msg: kike-replies
25
+# Generates kike.msg as a by-product
26
+kike-replies.c: kike-replies
26 27
 	$(SHELL) kike-gen-replies.sh < $< > $@
27 28
 

+ 1
- 1
kike-gen-replies.sh View File

@@ -1,7 +1,7 @@
1 1
 #!/bin/sh
2 2
 LC_ALL=C exec awk '
3 3
 	BEGIN {
4
-		# The message catalog is a byproduct
4
+		# The message catalog is a by-product
5 5
 		msg = "kike.msg"
6 6
 		print "$quote \"" > msg;
7 7
 		print "$set 1" > msg;

Loading…
Cancel
Save