From b21251168c6d847849b9ba7beafae8eeb8b1c6d5 Mon Sep 17 00:00:00 2001 From: Alexander Voigt Date: Fri, 8 Jul 2016 21:25:30 +0200 Subject: [PATCH] adding clean-lib target to remove all libraries --- README | 4 ++++ config/Makefile.in | 15 +++++++++------ doc/building.dox | 4 ++++ 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/README b/README index d5fee665b..73a65b60c 100644 --- a/README +++ b/README @@ -362,6 +362,10 @@ object files, libraries or executables: $ make clean-dep # deletes all .d files + $ make clean-executables # deletes all .x files + + $ make clean-lib # deletes all libraries + $ make clean-obj # deletes all .o files For each model or addon there are specific clean targets to diff --git a/config/Makefile.in b/config/Makefile.in index 085ac3611..d9294a97a 100644 --- a/config/Makefile.in +++ b/config/Makefile.in @@ -116,9 +116,9 @@ CONVERT_DOS_PATHS := config/convert_dos_paths.sh # README file README_FILE := README -.PHONY: all allsrc allexec alllib alltest clean-executables \ - clean clean-dep clean-obj depend distclean showbuild tag \ - release-tag release-head +.PHONY: all allsrc allexec alllib alltest clean clean-dep \ + clean-executables clean-lib clean-obj depend distclean \ + release-tag release-head showbuild tag all: ifeq ($(ENABLE_META),yes) @@ -183,6 +183,12 @@ alltest: $(ALLTST) clean-dep: -rm -f $(ALLDEP) +clean-executables: + -rm -f $(ALLEXE) + +clean-lib: + -rm -f $(ALLLIB) + depend: clean-dep depend: $(ALLDEP) @@ -198,9 +204,6 @@ depend: $(ALLDEP) %.d: %.F | $(DEPGEN) $(DEPGEN) $(CPPFLAGS) -MM -o '$@' -MT '$*.o' $^ -clean-executables: - -rm -f $(ALLEXE) - distclean:: -rm -f Makefile -rm -f $(FSCONFIG) diff --git a/doc/building.dox b/doc/building.dox index 3a137a03c..19a37c510 100644 --- a/doc/building.dox +++ b/doc/building.dox @@ -225,6 +225,10 @@ object files, libraries or executables: make clean-dep # deletes all .d files + make clean-executables # deletes all .x files + + make clean-lib # deletes all libraries + make clean-obj # deletes all .o files For each model `` or addon there are specific clean targets to