]> 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 f00a5e38a2aa9670ae9324583e276c2b0bb39be2..4e78c8c14551e9081ea2156a684f442175ee3385 100644 (file)
@@ -6,12 +6,12 @@ INTERFACE_FILES = \
        nReference.mli \
        nCicPp.mli \
        oCic2NCic.mli  \
-       nCicEnvironment.mli \
-       nCicTypeChecker.mli \
-       oCicTypeChecker.mli \
        nCicUtils.mli \
        nCicSubstitution.mli \
+       nCicEnvironment.mli \
        nCicReduction.mli \
+       nCicTypeChecker.mli \
+       oCicTypeChecker.mli \
        nCic2OCic.mli
 
 IMPLEMENTATION_FILES = \
@@ -20,9 +20,12 @@ EXTRA_OBJECTS_TO_INSTALL =
 EXTRA_OBJECTS_TO_CLEAN =
 OCAMLOPTIONS += -w Ae
 
-all: rt
-rt: rt.ml $(PACKAGE).cma
+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