X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=Makefile;h=ab55386da12a49d01c98f22a4f34723271e31493;hb=a2b8b2a0de173f92092bf6cbbed23551e674ca3c;hp=e6f7f8db0f0e74fd35ab2acda7fee5bbd4bd0929;hpb=9f47008270ad2ab66d7787eb29b0f83a82a8e42e;p=mTask.git diff --git a/Makefile b/Makefile index e6f7f8d..ab55386 100644 --- a/Makefile +++ b/Makefile @@ -19,22 +19,23 @@ CLMLIBS:=\ -I $(CLEAN_HOME)/lib/TCPIP\ -I ./CleanSerial -BINARIES:= miTask #mTaskExamples mTaskInterpret miTask +BINARIES:= miTask mTaskExamples mTaskInterpret -all: CleanSerial/Clean\ System\ Files/TTY.o $(BINARIES) int/mTaskSymbols.h +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 -int/mTaskSymbols.h: mTaskMakeSymbols +client/mTaskSymbols.h: mTaskMakeSymbols + mkdir -p client ./$< -nr > $@ -%: %.icl $(wildcard *.[id]cl) +%: %.icl $(wildcard */*.[id]cl *.[id]cl) $(CLM) $(CLMLIBS) $(CLMFLAGS) $(basename $<) -o $@ - mkdir -p $(basename $<)-www - find $(CLEAN_HOME)/lib -path '*/WebPublic/*' -execdir \ - cp -nR {} "$$PWD"/$(basename $<)-www/ \; 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