about summary refs log tree commit diff
path: root/examples/custom_mutators/GNUmakefile
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-04-02 12:24:39 +0200
committerhexcoder- <heiko@hexco.de>2020-04-02 12:24:39 +0200
commit0565fe4213b96a778895799eb61743166be35a0d (patch)
tree3d672865d1bf468396ec34d502f73e7fcb3d94ff /examples/custom_mutators/GNUmakefile
parentcb0bc98576ac0a7608b01571fea9ed5750190c82 (diff)
downloadafl++-0565fe4213b96a778895799eb61743166be35a0d.tar.gz
rename all 'Makefile' to 'GNUmakefile', use -Werror for -flto checks
Diffstat (limited to 'examples/custom_mutators/GNUmakefile')
-rw-r--r--examples/custom_mutators/GNUmakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/custom_mutators/GNUmakefile b/examples/custom_mutators/GNUmakefile
new file mode 100644
index 00000000..9849f3f4
--- /dev/null
+++ b/examples/custom_mutators/GNUmakefile
@@ -0,0 +1,7 @@
+all: libexamplemutator.so
+
+libexamplemutator.so:
+	$(CC) $(CFLAGS) -D_FORTIFY_SOURCE=2 -O3 -fPIC -shared -g -I ../../include example.c -o libexamplemutator.so
+
+clean:
+	rm -rf libexamplemutator.so