aboutsummaryrefslogtreecommitdiffstats
path: root/m0/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 /m0/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 'm0/makefile')
-rw-r--r--m0/makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/m0/makefile b/m0/makefile
index a9afeaf..cd7f0be 100644
--- a/m0/makefile
+++ b/m0/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=-fpic
+else
CXX_FLAGS=-fpic
+endif
CXX_EXTRA?=
CTAGS_I_PATH?=./
LD_FLAGS=