From 219834c0e605004a33cae194f1216c0b877b8ab4 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Thu, 12 Oct 2006 09:44:03 +0000 Subject: [PATCH] CoRN integrated in the night benchmarks. --- matita/Makefile | 1 + matita/contribs/CoRN/makefile | 37 +++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 matita/contribs/CoRN/makefile diff --git a/matita/Makefile b/matita/Makefile index 5cf295834..73e9fc014 100644 --- a/matita/Makefile +++ b/matita/Makefile @@ -203,6 +203,7 @@ distclean: clean TEST_DIRS = \ library \ tests \ + contribs/CoRN \ contribs/RELATIONAL \ contribs/LAMBDA-TYPES \ contribs/PREDICATIVE-TOPOLOGY \ diff --git a/matita/contribs/CoRN/makefile b/matita/contribs/CoRN/makefile new file mode 100644 index 000000000..1fda4fb90 --- /dev/null +++ b/matita/contribs/CoRN/makefile @@ -0,0 +1,37 @@ +H=@ + +RT_BASEDIR=../../ +OPTIONS=-bench +MMAKE=$(RT_BASEDIR)matitamake $(OPTIONS) +CLEAN=$(RT_BASEDIR)matitaclean $(OPTIONS) +MMAKEO=$(RT_BASEDIR)matitamake.opt $(OPTIONS) +CLEANO=$(RT_BASEDIR)matitaclean.opt $(OPTIONS) + +devel:=$(shell basename `pwd`) + +ifneq "$(SRC)" "" + XXX="SRC=$(SRC)" +endif + +all: preall + $(H)$(XXX) MATITA_FLAGS=$(MATITA_FLAGS) $(MMAKE) build $(devel) +clean: preall + $(H)$(XXX) MATITA_FLAGS=$(MATITA_FLAGS) $(MMAKE) clean $(devel) +cleanall: preall + $(H)$(XXX) MATITA_FLAGS=$(MATITA_FLAGS) $(MCLEAN) all + +all.opt opt: preall + $(H)$(XXX) MATITA_FLAGS=$(MATITA_FLAGS) $(MMAKEO) build $(devel) +clean.opt: preall + $(H)$(XXX) MATITA_FLAGS=$(MATITA_FLAGS) $(MMAKEO) clean $(devel) +cleanall.opt: preall + $(H)$(XXX) MATITA_FLAGS=$(MATITA_FLAGS) $(MCLEANO) all + +%.mo: preall + $(H)$(XXX) MATITA_FLAGS=$(MATITA_FLAGS) $(MMAKE) $@ +%.mo.opt: preall + $(H)$(XXX) MATITA_FLAGS=$(MATITA_FLAGS) $(MMAKEO) $@ + +preall: + $(H)$(XXX) MATITA_FLAGS=$(MATITA_FLAGS) $(MMAKE) init $(devel) + -- 2.39.2