diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-02-11 01:53:19 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-02-11 01:53:19 +0100 |
commit | 59b1c5c056269a5151ef7a17cdedf8a3caccfc61 (patch) | |
tree | fbab85648333cb0f1d7f25f79cfbf544cf624031 /Makefile | |
parent | dfe50aeb85dae10c0fe94e7fb63e1dc887816d49 (diff) | |
download | xK-59b1c5c056269a5151ef7a17cdedf8a3caccfc61.tar.gz xK-59b1c5c056269a5151ef7a17cdedf8a3caccfc61.tar.xz xK-59b1c5c056269a5151ef7a17cdedf8a3caccfc61.zip |
Convert to CMake
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index 17e20e2..0000000 --- a/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -SHELL = /bin/sh -CC = clang -# -Wunused-function is pretty annoying here, as everything is static and not -# all parts of common.c are used in all the executables -CFLAGS = -std=c99 -Wall -Wextra -Wno-unused-function \ - -ggdb -fsanitize=address,undefined -# -lpthread is only there for debugging (gdb & errno) -# -lrt is only for glibc < 2.17 -LDFLAGS = `pkg-config --libs libssl` -lpthread -lrt - -.PHONY: all clean -.SUFFIXES: - -targets = zyklonb kike - -all: $(targets) - -clean: - rm -f $(targets) kike-replies.c - -zyklonb: zyklonb.c common.c siphash.c - $(CC) zyklonb.c siphash.c -o $@ $(CFLAGS) $(LDFLAGS) -kike: kike.c common.c siphash.c kike-replies.c - $(CC) kike.c siphash.c -o $@ $(CFLAGS) $(LDFLAGS) - -# Generates kike.msg as a by-product -kike-replies.c: kike-replies - $(SHELL) kike-gen-replies.sh < $< > $@ - |