diff options
| author | hexcoder- <heiko@hexco.de> | 2020-05-07 18:33:38 +0200 |
|---|---|---|
| committer | hexcoder- <heiko@hexco.de> | 2020-05-07 18:33:38 +0200 |
| commit | d217c7df055b9ca44e5398d8c7d50d43e0b2e56d (patch) | |
| tree | 39b381389f65c029a6bdb6dae9bba9c9ec4160e6 /examples/afl_untracer/Makefile | |
| parent | 9484da57ed3f421ac274ac51282dba779994da9a (diff) | |
| parent | ef2ccc8117bb899616472e2d95525ae0ca1a2098 (diff) | |
| download | afl++-d217c7df055b9ca44e5398d8c7d50d43e0b2e56d.tar.gz | |
Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev
Diffstat (limited to 'examples/afl_untracer/Makefile')
| -rw-r--r-- | examples/afl_untracer/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/examples/afl_untracer/Makefile b/examples/afl_untracer/Makefile index 5c525877..14a09b41 100644 --- a/examples/afl_untracer/Makefile +++ b/examples/afl_untracer/Makefile @@ -1,10 +1,16 @@ +ifdef DEBUG + OPT=-O0 +else + OPT=-O3 +endif + all: afl-untracer libtestinstr.so afl-untracer: afl-untracer.c - $(CC) -I../../include -g -o afl-untracer afl-untracer.c -ldl -pthread + $(CC) $(OPT) -I../../include -g -o afl-untracer afl-untracer.c -ldl libtestinstr.so: libtestinstr.c - $(CC) -fPIC -o libtestinstr.so -shared libtestinstr.c + $(CC) -g -O0 -fPIC -o libtestinstr.so -shared libtestinstr.c clean: rm -f afl-untracer libtestinstr.so *~ core |
