X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=Makefile;h=1afaa7730875119da93f83a4051bcd1555bf536c;hb=7ab8606c3d22a2bc2743eae7a398407c84d502f2;hp=04e4d8cf4266db123106fe812058f006df5e237e;hpb=184c730e7c9ab350be853218f5e1f9b8866531ce;p=mTask.git diff --git a/Makefile b/Makefile index 04e4d8c..1afaa77 100644 --- a/Makefile +++ b/Makefile @@ -19,20 +19,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 $(CLEAN_HOME)/lib -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