about summary refs log tree commit diff
path: root/libtokencap
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2019-09-26 00:28:25 +0200
committerhexcoder- <heiko@hexco.de>2019-09-26 00:28:25 +0200
commitf66c0a5d980c0e472d937de44da1a5fe4886b06a (patch)
tree285d5d11a05a2a23ccddbd3b0b9da159a3ace156 /libtokencap
parenta609b08c0ad1c3e9825604b3b97b634ac9bf344c (diff)
parente63c9ec05e34c3cf1e32c319ba295e8e5facf41d (diff)
downloadafl++-f66c0a5d980c0e472d937de44da1a5fe4886b06a.tar.gz
Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus
Diffstat (limited to 'libtokencap')
-rw-r--r--libtokencap/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/libtokencap/Makefile b/libtokencap/Makefile
index 0faad511..3fd01b2c 100644
--- a/libtokencap/Makefile
+++ b/libtokencap/Makefile
@@ -21,7 +21,10 @@ VERSION     = $(shell grep '^\#define VERSION ' ../config.h | cut -d '"' -f2)
 CFLAGS      ?= -O3 -funroll-loops -I ../include/
 CFLAGS      += -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign
 
-all: libtokencap.so
+ifeq "$(shell uname)" "Linux"
+  TARGETS = libtokencap.so
+endif
+all: $(TARGETS)
 
 libtokencap.so: libtokencap.so.c ../config.h
 	$(CC) $(CFLAGS) -shared -fPIC $< -o ../$@ $(LDFLAGS)