diff options
Diffstat (limited to '')
-rw-r--r-- | m0/makefile | 8 |
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= |