aboutsummaryrefslogtreecommitdiffstats
path: root/obfuscator
diff options
context:
space:
mode:
Diffstat (limited to 'obfuscator')
-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=