repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
complete linux interface and rename folder
[mTask.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
9f52e89
..
49943f5
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,6
+1,12
@@
CLEAN_HOME?=/opt/clean
CLM:=clm
CLEAN_HOME?=/opt/clean
CLM:=clm
-override CLMFLAGS+=-dynamics -h 200M -nt -l -no-pie
+
+override CLMFLAGS+=-dynamics -h 200M -nt
+GCCVERSIONGTEQ6:=$(shell expr `gcc -dumpversion | cut -f1 -d.` \>= 6)
+ifeq "$(GCCVERSIONGTEQ6)" "1"
+ override CLMFLAGS+=-l -no-pie
+endif
+
CLMLIBS:=\
-I $(CLEAN_HOME)/lib/Platform\
-I $(CLEAN_HOME)/lib/Platform/Deprecated/StdLib\
CLMLIBS:=\
-I $(CLEAN_HOME)/lib/Platform\
-I $(CLEAN_HOME)/lib/Platform/Deprecated/StdLib\
@@
-13,7
+19,7
@@
CLMLIBS:=\
-I $(CLEAN_HOME)/lib/TCPIP\
-I ./CleanSerial
-I $(CLEAN_HOME)/lib/TCPIP\
-I ./CleanSerial
-BINARIES:= miTask
#mTaskExamples mTaskInterpret miTask
+BINARIES:= miTask
mTaskExamples mTaskInterpret
all: CleanSerial/Clean\ System\ Files/TTY.o $(BINARIES) int/mTaskSymbols.h
all: CleanSerial/Clean\ System\ Files/TTY.o $(BINARIES) int/mTaskSymbols.h