]> matita.cs.unibo.it Git - helm.git/commitdiff
- makefile added
authorFerruccio Guidi <ferruccio.guidi@unibo.it>
Sun, 27 Aug 2006 10:34:09 +0000 (10:34 +0000)
committerFerruccio Guidi <ferruccio.guidi@unibo.it>
Sun, 27 Aug 2006 10:34:09 +0000 (10:34 +0000)
matita/contribs/LAMBDA-TYPES/Level-1/makefile [new file with mode: 0644]

diff --git a/matita/contribs/LAMBDA-TYPES/Level-1/makefile b/matita/contribs/LAMBDA-TYPES/Level-1/makefile
new file mode 100644 (file)
index 0000000..a9ac218
--- /dev/null
@@ -0,0 +1,33 @@
+H=@
+
+RT_BASEDIR=/home/fguidi/svn/software/matita/
+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`)
+
+all: preall
+       $(H)MATITA_FLAGS=$(MATITA_FLAGS) $(MMAKE) build $(devel)
+clean: preall
+       $(H)MATITA_FLAGS=$(MATITA_FLAGS) $(MMAKE) clean $(devel)
+cleanall: preall
+       $(H)MATITA_FLAGS=$(MATITA_FLAGS) $(MCLEAN) all
+
+all.opt opt: preall
+       $(H)MATITA_FLAGS=$(MATITA_FLAGS) $(MMAKEO) build $(devel)
+clean.opt: preall
+       $(H)MATITA_FLAGS=$(MATITA_FLAGS) $(MMAKEO) clean $(devel)
+cleanall.opt: preall
+       $(H)MATITA_FLAGS=$(MATITA_FLAGS) $(MCLEANO) all
+
+%.mo: preall
+       $(H)MATITA_FLAGS=$(MATITA_FLAGS) $(MMAKE) $@
+%.mo.opt: preall
+       $(H)MATITA_FLAGS=$(MATITA_FLAGS) $(MMAKEO) $@
+       
+preall:
+       $(H)MATITA_FLAGS=$(MATITA_FLAGS) $(MMAKE) init $(devel)
+