From: Claudio Sacerdoti Coen Date: Mon, 26 Sep 2005 16:55:45 +0000 (+0000) Subject: coq.moo is now automatically generated. New targets: X-Git-Tag: V_0_7_2_3~302 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=f0e380a73c12078cd3b729a596caa87c442c2a07;p=helm.git coq.moo is now automatically generated. New targets: coq.moo coq.moo.opt (almost .PHONY) --- diff --git a/helm/matita/Makefile.in b/helm/matita/Makefile.in index 76183c0e5..f5c9a341f 100644 --- a/helm/matita/Makefile.in +++ b/helm/matita/Makefile.in @@ -1,3 +1,5 @@ +export SHELL=/bin/bash + MAKEFLAGS+=--no-print-directory OCAMLPATH = ../ocaml/METAS/ OCAMLFIND = OCAMLPATH=$(OCAMLPATH):$$OCAMLPATH @OCAMLFIND@ @@ -66,7 +68,7 @@ PROGRAMS_BYTE = matita matitac cicbrowser matitadep matitaclean matitamake PROGRAMS = $(PROGRAMS_BYTE) matitatop dump_moo PROGRAMS_OPT = $(patsubst %,%.opt,$(PROGRAMS_BYTE)) -all: matita.conf.xml $(PROGRAMS) +all: matita.conf.xml $(PROGRAMS) coq.moo matita.conf.xml: matita.conf.xml.sample @if diff matita.conf.xml.sample matita.conf.xml 1>/dev/null 2>/dev/null; then\ @@ -88,6 +90,11 @@ matita.conf.xml.sample: matita.conf.xml.sample.in @echo "WARNING: The configuration sample file has changed!" @echo +coq.moo: coq.ma matitac + ./matitac coq.ma +coq.moo.opt: coq.ma matitac.opt + ./matitac.opt coq.ma + ifeq ($(HAVE_OCAMLOPT),yes) CMXS = $(patsubst %.cmo,%.cmx,$(CMOS)) CCMXS = $(patsubst %.cmo,%.cmx,$(CCMOS)) @@ -103,7 +110,7 @@ CLEANLIB_DEPS := $(shell $(OCAMLFIND) query -recursive -predicates "byte" -forma CLEANLIBX_DEPS := $(shell $(OCAMLFIND) query -recursive -predicates "native" -format "%d/%a" $(CLEANREQUIRES)) MAKELIB_DEPS := $(shell $(OCAMLFIND) query -recursive -predicates "byte" -format "%d/%a" $(MAKEREQUIRES)) MAKELIBX_DEPS := $(shell $(OCAMLFIND) query -recursive -predicates "native" -format "%d/%a" $(MAKEREQUIRES)) -opt: $(PROGRAMS_OPT) +opt: $(PROGRAMS_OPT) coq.moo.opt else opt: @echo "Native code compilation is disabled"