about summary refs log tree commit diff
path: root/examples/persistent_mode/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/persistent_mode/Makefile')
-rw-r--r--examples/persistent_mode/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/persistent_mode/Makefile b/examples/persistent_mode/Makefile
new file mode 100644
index 00000000..6fa1c30e
--- /dev/null
+++ b/examples/persistent_mode/Makefile
@@ -0,0 +1,10 @@
+all:
+	afl-clang-fast -o persistent_demo persistent_demo.c
+	afl-clang-fast -o persistent_demo_new persistent_demo_new.c
+	AFL_DONT_OPTIMIZE=1 afl-clang-fast -o test-instr test-instr.c
+
+document:
+	AFL_DONT_OPTIMIZE=1 afl-clang-fast -D_AFL_DOCUMENT_MUTATIONS -o test-instr test-instr.c
+
+clean:
+	rm -f persistent_demo persistent_demo_new test-instr