X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=Makefile;h=ab55386da12a49d01c98f22a4f34723271e31493;hb=a2b8b2a0de173f92092bf6cbbed23551e674ca3c;hp=0beb478388124ef4a51d6d4b19febe28d0e976ef;hpb=9b2065c9dfc5abddd84a6e831129beecf985f798;p=mTask.git diff --git a/Makefile b/Makefile index 0beb478..ab55386 100644 --- a/Makefile +++ b/Makefile @@ -22,17 +22,20 @@ CLMLIBS:=\ BINARIES:= miTask mTaskExamples mTaskInterpret all: CleanSerial/Clean\ System\ Files/TTY.o $(BINARIES) client/mTaskSymbols.h - find $(CLEAN_HOME)/lib -path '*/WebPublic/*' -execdir cp -nR {} "$$PWD"/miTask-www/ \; + 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