aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/makefile
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2019-12-05 14:21:36 +0000
committerbloodstalker <thabogre@gmail.com>2019-12-05 14:21:36 +0000
commit398fd5f129db52063893098454f99b09633f0054 (patch)
tree2b37059e347bc9c9b82cdd62b8083a3d1d320841 /bruiser/makefile
parentappveyor badge [travis skip] (diff)
downloadmutator-398fd5f129db52063893098454f99b09633f0054.tar.gz
mutator-398fd5f129db52063893098454f99b09633f0054.zip
fixing m0s builds for all llvm versions, added a windows cygwin build test on appveyor
Diffstat (limited to '')
-rw-r--r--bruiser/makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/bruiser/makefile b/bruiser/makefile
index 2e29fd1..48f54cb 100644
--- a/bruiser/makefile
+++ b/bruiser/makefile
@@ -14,10 +14,18 @@ SHELL=bash
SHELL?=bash
CC=clang
CC?=clang
+ifdef OS
+CC_FLAGS= $(shell $(PY_CONF) --includes)
+else
CC_FLAGS=-fpic $(shell $(PY_CONF) --includes)
+endif
CXX=clang++
CXX?=clang++
+ifdef OS
+CXX_FLAGS= -I/usr/include $(shell $(PY_CONF) --includes)
+else
CXX_FLAGS=-fpic -I/usr/include $(shell $(PY_CONF) --includes)
+endif
CXX_EXTRA?=
CTAGS_I_PATH?=./
LD_FLAGS=-v