]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/Makefile
Cooking implemented (not tested yet).
[helm.git] / helm / software / components / ng_kernel / Makefile
index 20917028861e2084bb0ded1e57d1bccf3fb08c0d..4e78c8c14551e9081ea2156a684f442175ee3385 100644 (file)
@@ -2,11 +2,31 @@ PACKAGE = ng_kernel
 PREDICATES =
 
 INTERFACE_FILES = \
-       nCicEnvironment.mli nCicTypeChecker.mli nReference.mli oCicTypeChecker.mli oCic2NCic.mli
+       nUri.mli \
+       nReference.mli \
+       nCicPp.mli \
+       oCic2NCic.mli  \
+       nCicUtils.mli \
+       nCicSubstitution.mli \
+       nCicEnvironment.mli \
+       nCicReduction.mli \
+       nCicTypeChecker.mli \
+       oCicTypeChecker.mli \
+       nCic2OCic.mli
+
 IMPLEMENTATION_FILES = \
   nCic.ml $(INTERFACE_FILES:%.mli=%.ml)
 EXTRA_OBJECTS_TO_INSTALL = 
 EXTRA_OBJECTS_TO_CLEAN =
+OCAMLOPTIONS += -w Ae
+
+all: rt check
+%: %.ml $(PACKAGE).cma
+       $(OCAMLC) -package helm-$(PACKAGE) -linkpkg -o $@ $<
+all.opt opt: rt.opt check.opt
+%.opt: %.ml $(PACKAGE).cmxa
+       $(OCAMLOPT) -package helm-$(PACKAGE) -linkpkg -o $@ $<
+       
 
 include ../../Makefile.defs
 include ../Makefile.common