aboutsummaryrefslogtreecommitdiffstats
path: root/obfuscator/makefile
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2019-11-29 13:18:14 +0000
committerbloodstalker <thabogre@gmail.com>2019-11-29 13:18:14 +0000
commit3373787599507721896e019bd7022c820616c3e7 (patch)
tree8c7b3f94295be15eb6c248c2adf86830ee3e2b64 /obfuscator/makefile
parentfixing the windows cygwin build for obfuscator on appveyor [travis skip] (diff)
downloadmutator-3373787599507721896e019bd7022c820616c3e7.tar.gz
mutator-3373787599507721896e019bd7022c820616c3e7.zip
fixing windows cygwin build on appveyor [travis skip]
Diffstat (limited to '')
-rw-r--r--obfuscator/makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/obfuscator/makefile b/obfuscator/makefile
index c8ad51b..b8b76ed 100644
--- a/obfuscator/makefile
+++ b/obfuscator/makefile
@@ -3,10 +3,18 @@ SHELL=bash
SHELL?=bash
CC=clang
CC?=clang
+ifdef OS
+CFLAGS= -std=c11
+else
CFLAGS=-fpic -std=c11
+endif
CXX=clang++
CXX?=clang++
+ifdef OS
+CXX_FLAGS=
+else
CXX_FLAGS=-fpic
+endif
CXX_EXTRA?=
CTAGS_I_PATH?=./
LD_FLAGS=