about summary refs log tree commit diff
path: root/examples/afl_untracer/Makefile
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-04-30 16:27:31 +0200
committervan Hauser <vh@thc.org>2020-04-30 16:27:31 +0200
commita37eca9df538a4184551244d435e027ca86ccb25 (patch)
tree78597b8a03f2a54e7384a5ba6b4305c82caf5585 /examples/afl_untracer/Makefile
parente68d2345d5c301dfdf7df3a86ccb0d9eb0aabbbd (diff)
downloadafl++-a37eca9df538a4184551244d435e027ca86ccb25.tar.gz
afl-untracer - next step
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