Commits

camlspotter committed 6cf773e

added OCamlDependsOn over UseCamlP4Modules

Comments (0)

Files changed (1)

 # =========================================================================
 
 #|Add dependencies of OCaml compiled files (cmx, cmo, etc.) over $(files)
-OCamlDependsOn(files)=
+OCamlDependsOn(files) =
     %.cmx %.cmo %.cmi %.cma %.cmxa %.annot %.spot %.spit: $(files)
 
 #|We first build ocamlfind before compiling any ocaml compiled files
 # CamlP4 modules
 # =========================================================
 
-#| Add dependencies of OCaml dependency analysis over $(packages).
+#| Add dependencies of OCaml dependency analysis and build over $(packages).
 #  Use this for adding dependencies for CamlP4 extensions.
 UseCamlP4Modules(packages) =
     .SCANNER: scan-ocaml-%: $(Installed $(packages))
 
+    OCamlDependsOn($(Installed $(packages)))
+
 # Build rules
 # ==========================================================