X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2Ftemplate_makefile.in;h=5ae1165bbbc17666f80a5bfd17232b00e300edee;hb=97c2d258a5c524eb5c4b85208899d80751a2c82f;hp=9af4cb0b60b8f725093433c0562923d0f5b41804;hpb=4ff22fdab1215482f4e149bd6986f28676790b76;p=helm.git diff --git a/helm/matita/template_makefile.in b/helm/matita/template_makefile.in index 9af4cb0b6..5ae1165bb 100644 --- a/helm/matita/template_makefile.in +++ b/helm/matita/template_makefile.in @@ -1,6 +1,12 @@ SRC=$(shell find @ROOT@ -name "*.ma" -a -type f) TODO=$(SRC:%.ma=%.mo) +MATITA_FLAGS=-noprofile +NODB=false +ifeq ($(NODB),true) + MATITA_FLAGS += -nodb +endif + MATITAC=@CC@ MATITACLEAN=@CLEAN@ MATITADEP=@DEP@ @@ -8,14 +14,14 @@ MATITADEP=@DEP@ all: $(TODO) clean: - $(MATITACLEAN) $(SRC) + $(MATITACLEAN) $(MATITA_FLAGS) $(SRC) rm -f $(TODO) %.moo: - ($(MATITAC) -q -I @ROOT@ $< | (grep -v "^make" || true)) + ($(MATITAC) $(MATITA_FLAGS) -q -I @ROOT@ $< | (grep -v "^make" || true)) @DEPFILE@ : $(SRC) - @DEP@ -I @ROOT@ $^ > @DEPFILE@ + $(MATITADEP) $(MATITA_FLAGS) -I '@ROOT@' $^ 1> @DEPFILE@ 2>/dev/null # this is the depend for full targets like: # dir/dir/name.moo: dir/dir/name.ma dir/dep.moo