about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-04-24 19:20:52 +0200
committervanhauser-thc <vh@thc.org>2023-04-24 19:20:52 +0200
commit46237c33322bbe92d35436718b37062f5c1a8cb6 (patch)
tree0bd4787262e4399cb6697ee089c60e00a7e9d924
parent8c228b0d23e303499dccf3df77c5d0b3a8b59b7b (diff)
downloadafl++-46237c33322bbe92d35436718b37062f5c1a8cb6.tar.gz
makefile for atwalk
-rw-r--r--custom_mutators/atnwalk/Makefile7
-rw-r--r--custom_mutators/atnwalk/README.md4
2 files changed, 8 insertions, 3 deletions
diff --git a/custom_mutators/atnwalk/Makefile b/custom_mutators/atnwalk/Makefile
new file mode 100644
index 00000000..bf83cae5
--- /dev/null
+++ b/custom_mutators/atnwalk/Makefile
@@ -0,0 +1,7 @@
+all:	atnwalk.so
+
+atnwalk.so:	atnwalk.c
+	$(CC) -I ../../include/ -shared -fPIC -O3 -o atnwalk.so atnwalk.c
+
+clean:
+	rm -f *.so *.o *~ core
diff --git a/custom_mutators/atnwalk/README.md b/custom_mutators/atnwalk/README.md
index badb856f..730349a3 100644
--- a/custom_mutators/atnwalk/README.md
+++ b/custom_mutators/atnwalk/README.md
@@ -6,9 +6,7 @@ Refer to [https://github.com/atnwalk/testbed](https://github.com/atnwalk/testbed
 
 ## Build
 
-```bash
-gcc -I ../../include/ -shared -fPIC -Wall -O3 atnwalk.c -o atnwalk.so
-```
+Just type `make` to build `atnwalk.so`.
 
 ## Run