about summary refs log tree commit diff
path: root/custom_mutators/autotokens/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'custom_mutators/autotokens/Makefile')
-rw-r--r--custom_mutators/autotokens/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/custom_mutators/autotokens/Makefile b/custom_mutators/autotokens/Makefile
new file mode 100644
index 00000000..ab1da4b6
--- /dev/null
+++ b/custom_mutators/autotokens/Makefile
@@ -0,0 +1,16 @@
+ifdef debug
+	CFLAGS += -fsanitize=address -Wall
+	CXX := clang++
+endif
+ifdef DEBUG
+	CFLAGS += -fsanitize=address -Wall
+	CXX := clang++
+endif
+
+all:	autotokens.so
+
+autotokens.so:	autotokens.cpp
+	$(CXX) -g -O3 $(CFLAGS) -shared -fPIC -o autotokens.so -I../../include autotokens.cpp ../../src/afl-performance.o
+
+clean:
+	rm -f autotokens.so *~ core