From 40d7f2452b0e6970c00ef5572287eacd1a5f1136 Mon Sep 17 00:00:00 2001 From: guido Date: Thu, 12 May 2005 14:02:39 +0000 Subject: [PATCH] avoid recursive call of make clean, since it takes awfully long. git-svn-id: https://svn.dealii.org/trunk@10667 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deal.II/examples/Makefile b/deal.II/examples/Makefile index d7b5a3ccd4..7ad6b08de4 100644 --- a/deal.II/examples/Makefile +++ b/deal.II/examples/Makefile @@ -15,8 +15,10 @@ default: $(addprefix build-,$(steps)) doxygen run: $(addprefix run-,$(steps)) run-doxygen # clean subdirs; make a target clean-step-N for each N -clean: $(addprefix clean-,$(steps)) clean-doxygen - +clean: + -rm -f *~ */*~ */*.$(OBJEXT) */*gmv */*gnuplot */*gpl */*eps */*pov */*tex \ + $(addsuffix $(EXEEXT),$(basename $(shell echo step-*/step-*.cc))) \ + doxygen/*.exe */Makefile.dep # for each build/run/clean target: strip the build- prefix of the -- 2.39.5