From: Mart Lubbers Date: Mon, 6 Feb 2017 10:44:45 +0000 (+0100) Subject: make program work with ui-reorg X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=077ade5d137ad163b059f7212e3c350b17290bad;p=mTask.git make program work with ui-reorg --- diff --git a/.gitignore b/.gitignore index ea93a2b..0cbbe1b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ mTask-data mTaskInterpret mTaskMakeSymbols miTask-data +miTask-www miTask diff --git a/Makefile b/Makefile index 866a77f..9f52e89 100644 --- a/Makefile +++ b/Makefile @@ -13,21 +13,22 @@ CLMLIBS:=\ -I $(CLEAN_HOME)/lib/TCPIP\ -I ./CleanSerial -BINARIES:= mTaskExamples mTaskInterpret miTask +BINARIES:= miTask #mTaskExamples mTaskInterpret miTask all: CleanSerial/Clean\ System\ Files/TTY.o $(BINARIES) int/mTaskSymbols.h CleanSerial/Clean\ System\ Files/TTY.o: make -C CleanSerial - int/mTaskSymbols.h: mTaskMakeSymbols ./$< -nr > $@ %: %.icl $(wildcard *.[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 + $(RM) -r $(BINARIES) Clean\ System\ Files miTask-data miTask-www make -C CleanSerial clean