aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2014-07-14 20:39:01 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2014-07-14 22:15:56 +0200
commitcc4ca46cc3cf447c26bf72fa88268ad970bccbff (patch)
treeabb53a86d7941074e32deff9ae493e8563461ebc /Makefile
parentb58ee27362ac285e3839ed051f4319118280ad5a (diff)
downloadxK-cc4ca46cc3cf447c26bf72fa88268ad970bccbff.tar.gz
xK-cc4ca46cc3cf447c26bf72fa88268ad970bccbff.tar.xz
xK-cc4ca46cc3cf447c26bf72fa88268ad970bccbff.zip
Add a utility to extract a message catalogs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index db6d657..59be4bf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,14 @@
SHELL = /bin/sh
CC = clang
-CFLAGS = -ggdb -Wall -Wextra -std=c99
+# -Wunused-function is pretty annoying here, as everything is static and not
+# all parts of common.c are used in all the executables
+CFLAGS = -ggdb -Wall -Wextra -std=c99 -Wno-unused-function
# -lpthread is only there for debugging (gdb & errno)
LDFLAGS = `pkg-config --libs libssl` -lpthread
.PHONY: all clean
-targets = zyklonb kike
+targets = zyklonb kike kike.msg
all: $(targets)
@@ -15,6 +17,9 @@ clean:
zyklonb: src/zyklonb.c src/common.c src/siphash.c
$(CC) src/zyklonb.c src/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 < $< > $@