From f81222958ae7d757d66235eb7ef764ac0d96dd19 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 26 Aug 2008 14:18:50 +0000 Subject: [PATCH] 'make clean' rules remove more generated files. --- Makefile.in | 10 +++++++--- cil-tools/Makefile.in | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index a9e0495..3fcd8e4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -234,11 +234,15 @@ endif # Clean. clean: - rm -f core *~ *.cmi *.cmo *.cmx *.cma *.cmxa *.a *.o - rm -f tests/*~ tests/*.cmi tests/*.cmo tests/*.opt - rm -f examples/*~ examples/*.cmi examples/*.cmo $(EXAMPLES) + rm -f core *~ *.cmi *.cmo *.cmx *.cma *.cmxa *.cmp *.a *.o *.so + rm -f tests/*~ tests/*.cmi tests/*.cmo tests/*.cmx tests/*.opt + rm -f tests/*.o + rm -f examples/*~ examples/*.cmi examples/*.cmo examples/*.cmx + rm -f examples/*.o $(EXAMPLES) rm -f benchmarks/*~ benchmarks/*.cmi benchmarks/*.cmo + rm -f benchmarks/*.cmx benchmarks/*.o rm -f benchmarks/*.opt benchmarks/*.opt.p benchmarks/*.profile + rm -f create_test_pattern bitstring-objinfo @for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done distclean: clean diff --git a/cil-tools/Makefile.in b/cil-tools/Makefile.in index 74174db..ed41f8e 100644 --- a/cil-tools/Makefile.in +++ b/cil-tools/Makefile.in @@ -96,6 +96,7 @@ task_struct.bmpp: task_struct.c bitstring-import-c clean: rm -f core *~ *.cmi *.cmo *.cmx *.cma *.cmxa *.a *.o *.bmpp rm -f bitstring-import-c bitstring-import-c.opt + rm -f ext3 task_struct distclean: clean -- 1.8.3.1