Commits

camlspotter  committed 0a87c0e

auto update of OMyMakefile

  • Participants
  • Parent commits 9925d67
  • Branches ocaml4

Comments (0)

Files changed (1)

 
 # Common phonies
 # ==================================================================
-.PHONY: all install uninstall clean
+.PHONY: all install uninstall clean veryclean
 
 # Directories
 # =====================================================================
   if $(not $(test -e $(dir))):
     mkdir $(dir) 
   return
+
+# Very clean
+# ======================================================================
+
+#| OCaml object files which are not real targets of OMake are not be
+# auto-cleaned away by ``omake clean``. This is not good in some situations
+# at linking.
+WithOCamlVeryClean() =
+    veryclean: 
+        rm -f *.cm* *.annot *.o *.a *.sp[io]t *.so *.exe *.byt *.opt *.run
+
+