]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/binaries/matex/Makefile
minor correction on "source" production
[helm.git] / matita / components / binaries / matex / Makefile
index 42e1360e2b598846187f6641c4c3ea1e1761ee86..342ba027d372949133d921854d3513db1deda788 100644 (file)
@@ -5,12 +5,20 @@ REQUIRES = helm-ng_library
 
 include ../Makefile.common
 
+PROBE    = ../probe/probe.native
 REGISTRY = $(RT_BASE_DIR)/matita.conf.xml
+OBJS     = Make.objs
 
-OBJ = cic:/matita/lambdadelta/basic_1/pr0/pr0/pr0_confluence.con
+BASEURI = cic:/matita/lambdadelta/basic_1/
 
-test:
-       @echo MaTeX $(OBJ)
-       $(H)./matex.native -O test $(REGISTRY) $(OBJ)
+test: test/$(OBJS)
+
+$(OBJS):
+       @echo probe: $(BASEURI)
+       $(H)$(PROBE) $(REGISTRY) -g $(BASEURI) -os > $@
+
+test/$(OBJS): $(OBJS) ./matex.native
+       @echo MaTeX: processing $(OBJS)
+       $(H)./matex.native -O test -l $(OBJS) -t -p $(REGISTRY) `cat $<`
 
 .PHONY: test