]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/contribs/procedural/Makefile.common
freescale porting, work in progress
[helm.git] / helm / software / matita / contribs / procedural / Makefile.common
index 7fdf63830b5964303d4032ffa5844951b5e840a4..a169ea049f0882ffc6208c34a952e773bb4a9884 100644 (file)
@@ -17,6 +17,20 @@ $(DIR) all:
 $(DIR).opt opt all.opt:
        $(H)$(RM) $(LOG)
        $(H)$(BIN)matitac.opt $(MATITAOPTIONS) 2>> $(LOG)
+
+%.ma: 
+       $(H)$(RM) $(LOG)
+       $(H)$(BIN)matitac $(MATITAOPTIONS) $*.mma 2>> $(LOG)
+%.mo: 
+       $(H)$(RM) $(LOG)
+       $(H)$(BIN)matitac $(MATITAOPTIONS) $*.ma 2>> $(LOG)
+%.ma.opt: 
+       $(H)$(RM) $(LOG)
+       $(H)$(BIN)matitac.opt $(MATITAOPTIONS) $*.mma 2>> $(LOG)
+%.mo.opt: 
+       $(H)$(RM) $(LOG)
+       $(H)$(BIN)matitac.opt $(MATITAOPTIONS) $*.ma 2>> $(LOG)
+
 clean:
        $(H)$(BIN)matitaclean $(MATITAOPTIONS)
        $(H)$(RM) $(MAS)
@@ -39,3 +53,9 @@ endif
 
 mma: $(DEVEL).conf.xml clean.ma
        $(H)$(TRANSCRIPT) $(TRANSCRIPTOPTIONS) -C $(BIN) $(DEVEL)
+
+%.ts: $(DEVEL).conf.xml
+       $(H)$(BIN)matitaclean.opt $(MATITAOPTIONS) $*.ma
+       $(H)$(RM) $*.ma
+       $(H)$(TRANSCRIPT) $(TRANSCRIPTOPTIONS) -C $(BIN) $* $(DEVEL)
+