shares are updated now and visible
[mTask.git] / Makefile
index e0d65c9..1afaa77 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,9 +19,9 @@ CLMLIBS:=\
        -I $(CLEAN_HOME)/lib/TCPIP\
        -I ./CleanSerial
 
-BINARIES:= miTask mTaskExamples mTaskInterpret
+BINARIES:= mTaskInterpret miTask # mTaskExamples 
 
-all: CleanSerial/Clean\ System\ Files/TTY.o $(BINARIES) client/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/ \;
 
@@ -29,11 +29,13 @@ 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