OCAMLOPT = $(OCAMLFIND) opt $(OCAMLC_FLAGS)
OCAMLDEP = $(OCAMLFIND) ocamldep $(OCAML_FLAGS)
# objects for matita (GTK GUI)
+NULL =
CMOS = \
buildTimeConf.cmo \
matitaLog.cmo \
matitaMisc.cmo \
matitaDb.cmo \
matitaSync.cmo \
- matitacleanLib.cmo \
+ matitacleanLib.cmo \
matitaDisambiguator.cmo \
matitaEngine.cmo \
- matitacLib.cmo \
- matitamakeLib.cmo \
+ matitacLib.cmo \
+ matitamakeLib.cmo \
matitaScript.cmo \
matitaGeneratedGui.cmo \
matitaGtkMisc.cmo \
matitaGui.cmo \
- matitaMathView.cmo
+ matitaMathView.cmo \
+ $(NULL)
# objects for matitac (batch compiler)
CCMOS = \
buildTimeConf.cmo \
matitaDisambiguator.cmo \
matitacleanLib.cmo \
matitaEngine.cmo \
- matitacLib.cmo
+ matitacLib.cmo \
+ $(NULL)
CLEANCMOS = $(CCMOS)
MAKECMOS = $(CCMOS) matitamakeLib.cmo
-
all: matita.conf.xml matita matitac matitatop cicbrowser matitadep matitaclean matitamake
matita.conf.xml: matita.conf.xml.sample
ifeq ($(MAKECMDGOALS),opt)
$(CMOS:%.cmo=%.cmi): $(LIBX_DEPS)
endif
+