From 61548ff92ed4aa8c0451afc6c5c3c073abb777c3 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 29 Dec 2011 13:56:37 +0000 Subject: [PATCH 1/1] Fix CLEANFILES. --- APIs/Makefile.am | 2 +- Makefile.am | 2 ++ generator-lib/Makefile.am | 2 +- generator/Makefile.am | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/APIs/Makefile.am b/APIs/Makefile.am index b386941..e7e9497 100644 --- a/APIs/Makefile.am +++ b/APIs/Makefile.am @@ -33,7 +33,7 @@ apis.cma: $(OBJECTS) ../generator-lib/generator_lib.cma %.cmo: %.api ../generator-lib/generator_lib.cma $(OCAMLFIND) ocamlc $(OCAMLOPTFLAGS) $(PP) -impl $< -c -o $@ -CLEANFILES = *.cmi *.cmo *.cmx *~ +CLEANFILES = *.cmi *.cmo *.cmx *.cma *.cmxa *~ depend: .depend diff --git a/Makefile.am b/Makefile.am index adb1d65..6bb6eb9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,3 +25,5 @@ SUBDIRS = generator-lib generator-macros APIs generator # The C library. SUBDIRS += lib + +CLEANFILES = *~ diff --git a/generator-lib/Makefile.am b/generator-lib/Makefile.am index a4a6111..299ae04 100644 --- a/generator-lib/Makefile.am +++ b/generator-lib/Makefile.am @@ -44,7 +44,7 @@ generator_lib.cma: $(OBJECTS) %.cmx: %.ml $(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) -c $< -o $@ -CLEANFILES = *.cmi *.cmo *.cmx *~ +CLEANFILES = *.cmi *.cmo *.cmx *.cma *.cmxa *~ depend: .depend diff --git a/generator/Makefile.am b/generator/Makefile.am index 3b0d6b4..03a7d2c 100644 --- a/generator/Makefile.am +++ b/generator/Makefile.am @@ -39,7 +39,7 @@ generator: $(OBJECTS) ../generator-lib/generator_lib.cma ../APIs/apis.cma %.cmx: %.ml $(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) -c $< -o $@ -CLEANFILES = *.cmi *.cmo *.cmx *~ +CLEANFILES = *.cmi *.cmo *.cmx *~ generator depend: .depend -- 1.8.3.1