]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/binaries/matex/Makefile
auxiliary executables (xoa, matitadep, probe, matex) ported to dune
[helm.git] / matita / components / binaries / matex / Makefile
index 42e1360e2b598846187f6641c4c3ea1e1761ee86..7783a057045642710034fd53111be2317b46b2b0 100644 (file)
@@ -1,16 +1,22 @@
 EXEC = matex
-VERSION=0.1.0
 
-REQUIRES = helm-ng_library
+MATEX    = ./$(EXEC).native
+PROBE    = ../probe/probe.native
+REGISTRY = $(RT_BASE_DIR)/matita.conf.xml \
+           test/legacy_1.conf.xml test/ground_1.conf.xml test/basic_1.conf.xml
+OBJS     = Make.objs
+SRCS     = Make.srcs
 
-include ../Makefile.common
+DEVEL = ../../../matita/contribs/lambdadelta/basic_1/
 
-REGISTRY = $(RT_BASE_DIR)/matita.conf.xml
+test: test/$(SRCS)
 
-OBJ = cic:/matita/lambdadelta/basic_1/pr0/pr0/pr0_confluence.con
+test/$(OBJS): $(REGISTRY) Makefile
+       @echo probe: $(DEVEL)
+       $(H)$(PROBE) $(REGISTRY) -g $(DEVEL) -os > $@
 
-test:
-       @echo MaTeX $(OBJ)
-       $(H)./matex.native -O test $(REGISTRY) $(OBJ)
+test/$(SRCS): test/$(OBJS) $(REGISTRY) $(MATEX) Makefile
+       @echo MaTeX: processing $<
+       $(H)$(MATEX) -O test -l $(SRCS) -a -g -p $(REGISTRY) `cat $<`
 
 .PHONY: test