1 include ../Makefile.defs
5 MATITAOPTIONS=$(MATITAUSEROPTIONS) -onepass
7 DIR=$(shell basename $$PWD)
11 MMAS = $(shell find Legacy-2 Base-2 -name "*.mma")
12 MAS = $(MMAS:%.mma=%.ma)
13 XMAS = Legacy-2/theory.ma Base-2/theory.ma LambdaDelta-2/theory.ma
17 $(H)$(MAKE) H=$(H) --no-print-directory build
19 $(DIR).opt opt all.opt: depends
21 $(H)$(MAKE) H=$(H) --no-print-directory build.opt
24 $(H)echo Legacy-2/theory.ma `$(BIN)matitadep.opt -stdout Legacy-2/theory.ma` >> depends
25 $(H)echo Base-2/theory.ma `$(BIN)matitadep.opt -stdout Base-2/theory.ma` >> depends
26 $(H)$(BIN)matitac $(MATITAOPTIONS) 2>> $(LOG)
30 $(H)echo Legacy-2/theory.ma `$(BIN)matitadep.opt -stdout Legacy-2/theory.ma` >> depends
31 $(H)echo Base-2/theory.ma `$(BIN)matitadep.opt -stdout Base-2/theory.ma` >> depends
32 $(H)$(BIN)matitac.opt $(MATITAOPTIONS) 2>> $(LOG)
36 $(H)$(BIN)matitaclean $(MATITAOPTIONS)
37 $(H)rm -f $(MAS) depends
40 $(H)$(BIN)matitaclean.opt $(MATITAOPTIONS)
41 $(H)rm -f $(MAS) depends
44 $(H)$(BIN)matitaclean.opt $(MATITAOPTIONS) $(MAS)
45 $(H)rm -f $(MAS) depends
49 $(H)$(BIN)matitadep $(foreach FILE,$(XMAS),-exclude $(FILE))
50 $(H)cat Legacy-2/depends Base-2/depends >> depends
54 $(H)$(BIN)matitadep.opt $(foreach FILE,$(XMAS),-exclude $(FILE))
55 $(H)cat Legacy-2/depends Base-2/depends >> depends
60 $(H)$(BIN)matitac.opt $(MATITAOPTIONS) $(word 3,$(shell grep -h $< */depends)) `$(BIN)matitadep.opt -stdout $<` 2>> $(LOG)
61 $(H)$(BIN)matitac.opt $(MATITAOPTIONS) -dump $@ $< 2>> $(LOG)
62 $(H)echo $@ `$(BIN)matitadep.opt -stdout $@` >> depends
64 include Legacy-2/.depend
65 include Base-2/.depend