X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=Makefile;h=bbe81871db2ed52ecfb6110045f803c5eb8b9606;hb=6abf86833edeae1742db393160db8a9e5c043889;hp=49943f5fc0c50de86845a17b29a448bf93c514b2;hpb=6c8939998c64aafb8cdfa40e52a227bf72767648;p=mTask.git diff --git a/Makefile b/Makefile index 49943f5..bbe8187 100644 --- a/Makefile +++ b/Makefile @@ -21,19 +21,19 @@ CLMLIBS:=\ 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