X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=Makefile;h=28bd5d530e3f8233b6f01aa33f9ddad35ea9dbc9;hb=48dfd7ad2f104321657a3ea44d33340761c95c2e;hp=b8ba871ff89ffa9f1880074c992f92451cf594bb;hpb=e25fda18ca554ec3fe937152403872b916367ddb;p=mTask.git diff --git a/Makefile b/Makefile index b8ba871..28bd5d5 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CLEAN_HOME?=/opt/clean CLM:=clm -CLMFLAGS+=-dynamics -l -no-pie -h 200M -t -nt +CLMFLAGS+=-dynamics -l -no-pie -h 200M -t -nt -lat CLMLIBS:=\ -I $(CLEAN_HOME)/lib/iTasks-SDK/Patches/Dynamics\ -I $(CLEAN_HOME)/lib/iTasks-SDK/Patches/Generics\ @@ -23,10 +23,12 @@ CLMLIBS:=\ -I $(CLEAN_HOME)/lib/TCPIP\ -I ./CleanSerial -all: mTaskExamples +BINARIES:= mTaskExamples mTaskInterpret -%: %.icl +all: $(BINARIES) + +%: %.icl $(wildcard *.[id]cl) $(CLM) $(CLMLIBS) $(CLMFLAGS) $(basename $<) -o $@ clean: - $(RM) -r mTaskExamples Clean\ System\ Files + $(RM) -r $(BINARIES) Clean\ System\ Files