about summary refs log tree commit diff
path: root/examples/afl_untracer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/afl_untracer/Makefile')
-rw-r--r--examples/afl_untracer/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/afl_untracer/Makefile b/examples/afl_untracer/Makefile
index ea20ebc0..bfef8fa8 100644
--- a/examples/afl_untracer/Makefile
+++ b/examples/afl_untracer/Makefile
@@ -1,7 +1,10 @@
-all:	afl-untracer
+all:	afl-untracer libtestinstr.so
 
 afl-untracer:	afl-untracer.c
-	$(CC) -I../../include -g -o afl-untracer afl-untracer.c -ldl
+	$(CC) -I../../include -g -o afl-untracer afl-untracer.c -ldl -pthread
+
+libtestinstr.so:	libtestinstr.c
+	$(CC) -fPIC -o libtestinstr.so -shared libtestinstr.c
 
 clean:
 	rm -f afl-untracer *~ core