about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-04-02 17:00:35 +0200
committervan Hauser <vh@thc.org>2020-04-09 10:23:37 +0200
commitfef08192ad5c4a291be358c1e89d3e0bbe45c94a (patch)
tree83c9596a0a70bb46e1cbe86c37ffac8f1492bf04 /examples
parent54884224711b6790b89f280f852df18a2226371e (diff)
downloadafl++-fef08192ad5c4a291be358c1e89d3e0bbe45c94a.tar.gz
restore portable Makefiles
Diffstat (limited to 'examples')
-rw-r--r--examples/custom_mutators/GNUmakefile7
-rw-r--r--examples/custom_mutators/Makefile9
2 files changed, 7 insertions, 9 deletions
diff --git a/examples/custom_mutators/GNUmakefile b/examples/custom_mutators/GNUmakefile
deleted file mode 100644
index 9849f3f4..00000000
--- a/examples/custom_mutators/GNUmakefile
+++ /dev/null
@@ -1,7 +0,0 @@
-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 0b306dde..9849f3f4 100644
--- a/examples/custom_mutators/Makefile
+++ b/examples/custom_mutators/Makefile
@@ -1,2 +1,7 @@
-all:
-	@echo please use GNU make, thanks!
+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