diff options
| author | van Hauser <vh@thc.org> | 2020-02-16 18:16:10 +0100 |
|---|---|---|
| committer | van Hauser <vh@thc.org> | 2020-02-16 18:16:10 +0100 |
| commit | 204059c61aca2ccdde64fbb59dbf6d86fb243bb3 (patch) | |
| tree | c7ed9fb911835f570470bc0e0bf0193fe5434f9e /llvm_mode/Makefile | |
| parent | 4cccdb89c0112931e451bc0719880813d15d14dc (diff) | |
| download | afl++-204059c61aca2ccdde64fbb59dbf6d86fb243bb3.tar.gz | |
check for mistyped env vars
Diffstat (limited to 'llvm_mode/Makefile')
| -rw-r--r-- | llvm_mode/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/llvm_mode/Makefile b/llvm_mode/Makefile index 6fa04e2c..cdd89f27 100644 --- a/llvm_mode/Makefile +++ b/llvm_mode/Makefile @@ -197,8 +197,11 @@ endif @test -f ../afl-showmap || ( echo "[-] Oops, can't find '../afl-showmap'. Be sure to compile AFL first."; exit 1 ) @echo "[+] All set and ready to build." -../afl-clang-fast: afl-clang-fast.c | test_deps - $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) +afl-common.o: ../src/afl-common.c + $(CC) $(CFLAGS) -c $< -o $@ $(LDFLAGS) + +../afl-clang-fast: afl-clang-fast.c afl-common.o | test_deps + $(CC) $(CFLAGS) $< afl-common.o -o $@ $(LDFLAGS) ln -sf afl-clang-fast ../afl-clang-fast++ ../libLLVMInsTrim.so: LLVMInsTrim.so.cc MarkNodes.cc | test_deps @@ -275,4 +278,4 @@ vpath % .. clean: rm -f *.o *.so *~ a.out core core.[1-9][0-9]* .test2 test-instr .test-instr0 .test-instr1 afl-llvm-pass.dwo - rm -f $(PROGS) ../afl-clang-fast++ ../afl-clang-fast*.8 + rm -f $(PROGS) afl-common.o ../afl-clang-fast++ ../afl-clang-fast*.8 |
