summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2014-06-14 20:26:28 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2014-07-05 01:28:16 +0200
commit165a19da21d057606926730f432bf298ada2751e (patch)
tree72f2061561472663d2896388f113b0621c922865 /Makefile
downloadxK-165a19da21d057606926730f432bf298ada2751e.tar.gz
xK-165a19da21d057606926730f432bf298ada2751e.tar.xz
xK-165a19da21d057606926730f432bf298ada2751e.zip
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f47959a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+SHELL = /bin/sh
+CC = clang
+CFLAGS = -ggdb -Wall -Wextra -std=c99
+LDFLAGS = `pkg-config --libs libssl`
+
+.PHONY: all clean
+
+targets = zyklonb
+
+all: $(targets)
+
+clean:
+ rm -f $(targets)
+
+zyklonb: src/zyklonb.c src/siphash.c
+ $(CC) $^ -o $@ $(CFLAGS) $(LDFLAGS)
+