From 077ade5d137ad163b059f7212e3c350b17290bad Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Mon, 6 Feb 2017 11:44:45 +0100 Subject: [PATCH] make program work with ui-reorg --- .gitignore | 1 + Makefile | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) 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 -- 2.20.1