aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMaciej Domanski <maciej.domanski@trailofbits.com>2022-12-28 10:40:17 +0100
committerMaciej Domanski <maciej.domanski@trailofbits.com>2022-12-28 10:40:17 +0100
commit107ebb7d49aefe87bd9b610b5b6a82c85d740ab7 (patch)
tree2605cf561f055543e9ee77c7b25e152e39d3822f /utils
parent4ff37da70923196f6986d64eafdda82590b92207 (diff)
downloadAFLplusplus-107ebb7d49aefe87bd9b610b5b6a82c85d740ab7.tar.gz
makefile update
Diffstat (limited to 'utils')
-rw-r--r--utils/argv_fuzzing/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/argv_fuzzing/Makefile b/utils/argv_fuzzing/Makefile
index b6630175..ef719e9a 100644
--- a/utils/argv_fuzzing/Makefile
+++ b/utils/argv_fuzzing/Makefile
@@ -22,6 +22,8 @@ argv_fuzz_persistent_demo: argv_fuzz_persistent_demo.c
argv_fuzz_demo: argv_fuzz_demo.c
$(CC) $(CFLAGS) -o $@ $^
+demo: argv_fuzz_persistent_demo argv_fuzz_demo
+
PREFIX ?= /usr/local
BIN_PATH = $(PREFIX)/bin
HELPER_PATH = $(PREFIX)/lib/afl
@@ -50,7 +52,7 @@ __M32FLAG=$(_M32FLAG:00=-mbe32)
___M32FLAG=$(__M32FLAG:$(CC_IS_GCC)$(CC_IS_ARMCOMPILER)=-m32)
M32FLAG=$(___M32FLAG)
-all: argvfuzz32.so argvfuzz64.so argv_fuzz_persistent_demo argv_fuzz_demo
+all: argvfuzz32.so argvfuzz64.so demo
argvfuzz32.so: argvfuzz.c
-@$(CC) $(M32FLAG) $(CFLAGS) $^ $(LDFLAGS) -o $@ 2>/dev/null || echo "argvfuzz32 build failure (that's fine)"