1 include ../Makefile.defs
5 MATITAOPTIONS=$(MATITAUSEROPTIONS) -onepass
11 SILENTMAKE = $(H)$(MAKE) H=$(H) -s --no-print-directory
13 MAS = $(patsubst %.mma, %.ma, $(shell find $(DIRS) -name "*.mma"))
21 $(SILENTMAKE) build.opt
24 $(SILENTMAKE) $(patsubst %.mma, %.ma, $(shell find $* -name "*.mma"))
25 $(H)echo $*/theory.ma `$(BIN)matitadep.opt -stdout $*/theory.ma` >> depends
27 build: $(DIRS:%=%.build.opt)
28 $(H)$(BIN)matitac $(MATITAOPTIONS) 2>> $(LOG)
31 build.opt: $(DIRS:%=%.build.opt)
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) $(MAS) depends
49 $(H)$(BIN)matitadep $(foreach DIR, $(DIRS), -exclude $(DIR)/theory.ma) -exclude LambdaDelta-2/theory.ma
50 $(H)cat $(DIRS:%=%/depends) >> depends
54 $(H)$(BIN)matitadep.opt $(foreach DIR, $(DIRS), -exclude $(DIR)/theory.ma) -exclude LambdaDelta-2/theory.ma
55 $(H)cat $(DIRS:%=%/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