]> matita.cs.unibo.it Git - helm.git/blob - helm/software/helena/Makefile
- the disambiguation of unified binders continues
[helm.git] / helm / software / helena / Makefile
1 MAIN = helena
2
3 SRC  = src
4
5 REQUIRES = unix str helm-ng_kernel
6
7 OCAMLOPTIONS = -rectypes 
8
9 KEEP = README
10
11 CLEAN = etc/log.txt etc/profile.txt
12
13 TAGS = test-si test-si-fast profile xml-si xml-si-crg matita matitac 
14
15 include Makefile.common
16
17 MATITAC = ../../../claudio/matita/matitac.opt
18
19 MATITA = ../../../claudio/matita/matita.opt
20
21 XMLDIR = ../../www/lambdadelta
22
23 INPUT = examples/grundlagen/grundlagen_2.aut
24
25 INPUTFAST = examples/grundlagen/grundlagen_1.aut
26
27 MA = grundlagen_2.ma
28
29 PREAMBLE = ../matita/matita.ma.templ
30
31 test-si $(MA): $(MAIN).opt etc
32         @echo "  HELENA -d -l -m -p -o $(INPUT)"
33         $(H)./$(MAIN).opt -T 2 -d -l -m $(PREAMBLE) -p -o $(O) $(INPUT) > etc/log.txt
34
35 test-si-fast: $(MAIN).opt etc
36         @echo "  HELENA -o -q $(INPUTFAST)"
37         $(H)./$(MAIN).opt -T 1 -o -q $(O) $(INPUTFAST) > etc/log.txt
38
39 profile: $(MAIN).opt etc
40         @echo "  HELENA -o -q $(INPUTFAST) (30 TIMES)"
41         $(H)rm etc/log.txt
42         $(H)for T in `seq 30`; do ./$(MAIN).opt -T 1 -o -q $(O) $(INPUTFAST) >> etc/log.txt; done
43         $(H)grep "at exit" etc/log.txt | sort | uniq > etc/profile-new.txt
44
45 xml-si: $(MAIN).opt etc
46         @echo "  HELENA -l -o -s 2 -x $(INPUT)"
47         $(H)./$(MAIN).opt -O $(XMLDIR) -T 1 -l -o -s 2 -x $(INPUT) > etc/log.txt
48
49 xml-si-crg: $(MAIN).opt etc
50         @echo "  HELENA -l -o -s 1 -x $(INPUT)"
51         $(H)./$(MAIN).opt -O $(XMLDIR) -T 1 -l -o -s 1 -x $(INPUT) > etc/log.txt
52
53 matita: $(MA)
54         @echo "  MATITA $<"
55         $(H)$(MATITA) $<
56
57 matitac: $(MA)
58         @echo "  MATITAC $<"
59         $(H)$(MATITAC) $<