tests
[mTask.git] / Makefile
index f510b38..a4cf3b1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,10 +23,12 @@ CLMLIBS:=\
        -I $(CLEAN_HOME)/lib/TCPIP\
        -I ./CleanSerial
 
-all: mTaskExamples
+BINARIES:= mTaskExamples mTaskInterpret
 
-%: %.icl
+all: $(BINARIES)
+
+%: %.icl $(wildcard *.dcl)
        $(CLM) $(CLMLIBS) $(CLMFLAGS) $(basename $<) -o $@
 
 clean:
-       $(RM) -r mTask Clean\ System\ Files
+       $(RM) -r $(BINARIES) Clean\ System\ Files