Commits

camlspotter  committed c606478

OMyMakefile update

  • Participants
  • Parent commits b478d44

Comments (0)

Files changed (1)

 
 #|Add dependencies of any build activity of this directory over $(files).
 #
-# .. note:: These functions introduce implicit rules: *you may need to export it, if you use this function in a local context.*
+# .. note:: This functions introduces implicit rules: *you may need to export it, if you use this function in a local context.*
 RequireFiles(files) =
     .SCANNER: scan-%: $(files)
     % : $(files)
   # CR jfuruse: I guess we do not need the following
   # export # export the implicit rule above
 
-  .DEFAULT: $(library_name).cmo $(library_name).cmx $(library_name).cma $(library_name).cmxa $(MyOCamlPackageExtras)
+  .PHONY: install-lib
+  install-lib: $(library_name).cmo $(library_name).cmx $(library_name).cma $(library_name).cmxa $(MyOCamlPackageExtras)
 
   $(CMA) $(CMXA) $(library_name).a $(CSTUBLIBRARIES) : $(CSTUBS) $(CMOS) $(CMXS)
       if $(not $(equal $(cmodules), $(EMPTY)))
   export # The above thing is local: need to be exported
 
   # CR jfuruse: forgot to add the deps over the packages!
-  .DEFAULT: $(OCamlLibrary $(name), $(files))
+  install-lib: $(OCamlLibrary $(name), $(files))
 
   # The following clean the files twice if MyOCamlPacakge coexists,
   # but who cases ?