repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix if statements and sds publishing
[mTask.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
b8ba871
..
4510a04
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,6
+1,6
@@
CLEAN_HOME?=/opt/clean
CLM:=clm
CLEAN_HOME?=/opt/clean
CLM:=clm
-
CLMFLAGS+=-dynamics -l -no-pie -h 200M -t
-nt
+
override CLMFLAGS+=-dynamics -h 200M
-nt
CLMLIBS:=\
-I $(CLEAN_HOME)/lib/iTasks-SDK/Patches/Dynamics\
-I $(CLEAN_HOME)/lib/iTasks-SDK/Patches/Generics\
CLMLIBS:=\
-I $(CLEAN_HOME)/lib/iTasks-SDK/Patches/Dynamics\
-I $(CLEAN_HOME)/lib/iTasks-SDK/Patches/Generics\
@@
-23,10
+23,16
@@
CLMLIBS:=\
-I $(CLEAN_HOME)/lib/TCPIP\
-I ./CleanSerial
-I $(CLEAN_HOME)/lib/TCPIP\
-I ./CleanSerial
-all: mTaskExamples
+BINARIES:= mTaskExamples mTaskInterpret miTask
-%: %.icl
+all: $(BINARIES) int/mTaskSymbols.h
+
+int/mTaskSymbols.h: mTaskMakeSymbols
+ ./$< -nr > $@
+
+%: %.icl $(wildcard *.[id]cl)
$(CLM) $(CLMLIBS) $(CLMFLAGS) $(basename $<) -o $@
$(CLM) $(CLMLIBS) $(CLMFLAGS) $(basename $<) -o $@
+
clean:
clean:
- $(RM) -r
mTaskExamples
Clean\ System\ Files
+ $(RM) -r
$(BINARIES)
Clean\ System\ Files