]> 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 4e1e3ca66d0c9eeb3ceb58c04a66b4f630293d06..7783a057045642710034fd53111be2317b46b2b0 100644 (file)
@@ -1,17 +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)
 
-OBJS = cic:/matita/lambdadelta/basic_1/pr0/pr0/pr0_confluence.con\
-       cic:/matita/lambdadelta/basic_1/pr0/defs/pr0_ind.con
+test/$(OBJS): $(REGISTRY) Makefile
+       @echo probe: $(DEVEL)
+       $(H)$(PROBE) $(REGISTRY) -g $(DEVEL) -os > $@
 
-test:
-       @echo MaTeX: $(OBJS:cic:/matita/lambdadelta/basic_1/pr0/%.con=%)
-       $(H)./matex.native -O test -t -p $(REGISTRY) $(OBJS)
+test/$(SRCS): test/$(OBJS) $(REGISTRY) $(MATEX) Makefile
+       @echo MaTeX: processing $<
+       $(H)$(MATEX) -O test -l $(SRCS) -a -g -p $(REGISTRY) `cat $<`
 
 .PHONY: test