about summary refs log tree commit diff
path: root/examples/custom_mutators
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-04-02 12:24:39 +0200
committervan Hauser <vh@thc.org>2020-04-09 10:23:37 +0200
commit7f817fe5832c2159d8eb782e79dc08a30fcd5d68 (patch)
treef2ca58837578975dfe42bc8677260af6368e2fa9 /examples/custom_mutators
parent5e66d95fbd88d422393046ae095de51c37c6f632 (diff)
downloadafl++-7f817fe5832c2159d8eb782e79dc08a30fcd5d68.tar.gz
rename all 'Makefile' to 'GNUmakefile', use -Werror for -flto checks
Diffstat (limited to 'examples/custom_mutators')
-rw-r--r--examples/custom_mutators/GNUmakefile7
-rw-r--r--examples/custom_mutators/Makefile9
2 files changed, 9 insertions, 7 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
diff --git a/examples/custom_mutators/Makefile b/examples/custom_mutators/Makefile
index 9849f3f4..0b306dde 100644
--- a/examples/custom_mutators/Makefile
+++ b/examples/custom_mutators/Makefile
@@ -1,7 +1,2 @@
-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
+all:
+	@echo please use GNU make, thanks!