X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=Makefile;h=c6c5975ae455b28369d24ad2b7e154bdd68a5acc;hb=14589b218e5796e4a85f2a73b440a25848ebe747;hp=0beb478388124ef4a51d6d4b19febe28d0e976ef;hpb=9b2065c9dfc5abddd84a6e831129beecf985f798;p=mTask.git diff --git a/Makefile b/Makefile index 0beb478..c6c5975 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ ifeq "$(GCCVERSIONGTEQ6)" "1" override CLMFLAGS+=-l -no-pie endif +# -I ~/projects/iTasks-SDK/Libraries CLMLIBS:=\ -I $(CLEAN_HOME)/lib/Platform\ -I $(CLEAN_HOME)/lib/Platform/Deprecated/StdLib\ @@ -19,20 +20,23 @@ CLMLIBS:=\ -I $(CLEAN_HOME)/lib/TCPIP\ -I ./CleanSerial -BINARIES:= miTask mTaskExamples mTaskInterpret +BINARIES:= mTaskInterpret miTask # mTaskExamples -all: CleanSerial/Clean\ System\ Files/TTY.o $(BINARIES) client/mTaskSymbols.h - find $(CLEAN_HOME)/lib -path '*/WebPublic/*' -execdir cp -nR {} "$$PWD"/miTask-www/ \; +all: CleanSerial/Clean\ System\ Files/TTY.o $(BINARIES) #client/mTaskSymbols.h + mkdir -p miTask-www + find ~/projects/iTasks-SDK/Libraries -path '*/WebPublic/*' -not -path '*/CodeMirror/*' -execdir cp -nR {} "$$PWD"/miTask-www/ \; CleanSerial/Clean\ System\ Files/TTY.o: make -C CleanSerial client/mTaskSymbols.h: mTaskMakeSymbols + mkdir -p client ./$< -nr > $@ -%: %.icl $(wildcard *.[id]cl) +%: %.icl $(wildcard */*.[id]cl *.[id]cl) $(CLM) $(CLMLIBS) $(CLMFLAGS) $(basename $<) -o $@ clean: $(RM) -r $(BINARIES) Clean\ System\ Files miTask-data miTask-www + find . -type d -name 'Clean System Files' -print0 | xargs -r0 rm -r make -C CleanSerial clean