Skip to content

Commit

Permalink
adding clean-lib target to remove all libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Jul 8, 2016
1 parent cc52e97 commit b212511
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
4 changes: 4 additions & 0 deletions README
Expand Up @@ -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 <model> or addon there are specific clean targets to
Expand Down
15 changes: 9 additions & 6 deletions config/Makefile.in
Expand Up @@ -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)
Expand Down Expand Up @@ -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)

Expand All @@ -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)
Expand Down
4 changes: 4 additions & 0 deletions doc/building.dox
Expand Up @@ -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 `<model>` or addon there are specific clean targets to
Expand Down

0 comments on commit b212511

Please sign in to comment.