aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-02-06 04:28:11 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-02-06 04:53:20 +0100
commit1a36870b778da19e4699f921697a8d500a67c821 (patch)
tree6fb54e656a559019eb60e7d6fdb47222b604514d /Makefile
downloadxchapolybox-master.tar.xz
xchapolybox-master.zip
Import random encryption codeHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..821cc18
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+export CFLAGS ?= -march=native -O3
+export CFLAGS += -std=gnu11 -Wall
+
+selftest: selftest.c xchapolybox.c xchapolybox.h
+ $(CC) $(CFLAGS) -o $@ selftest.c
+
+clean:
+ rm -f selftest
+
+.PHONY: clean