X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=Makefile;h=ab55386da12a49d01c98f22a4f34723271e31493;hb=acd239b3f29e215ade0b63d5b26b6cf8e8ae0d63;hp=04e4d8cf4266db123106fe812058f006df5e237e;hpb=184c730e7c9ab350be853218f5e1f9b8866531ce;p=mTask.git diff --git a/Makefile b/Makefile index 04e4d8c..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