summaryrefslogtreecommitdiff
path: root/lib/make/make.configuration
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-01-12 11:21:44 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-01-12 11:21:44 +0000
commit17c3d6ee397593ad2beca95c93ccef4f7137e701 (patch)
tree8239961f089be02eee1078b1dca55232a8f29954 /lib/make/make.configuration
parent12bb7ec97afb52b48c35ce9b37b003090d1f14d6 (diff)
Remove contents of scratch directory for gmake realclean, clean, and cleanobjs
Fixes Cactus/510 git-svn-id: http://svn.cactuscode.org/flesh/trunk@1986 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/make.configuration')
-rw-r--r--lib/make/make.configuration3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/make/make.configuration b/lib/make/make.configuration
index f32acb37..1456919d 100644
--- a/lib/make/make.configuration
+++ b/lib/make/make.configuration
@@ -197,6 +197,7 @@ $(foreach lib, $(CCTK_HOME)/src $(THORNS:%=$(PACKAGE_DIR)/%), $(lib)/param.ccl $
clean:
@echo Deleting all object and dependency files in $(TOP)
find $(TOP) \( -name '*.[od]' -o -name '*.a' \) -exec rm {} \;
+ rm -rf $(TOP)/scratch/*
cleandeps:
@echo Deleting all dependency files in $(TOP)
@@ -205,6 +206,7 @@ cleandeps:
cleanobjs:
@echo Deleting all object files in $(TOP)
find $(TOP) \( -name '*.[o]' -o -name '*.a' \) -exec rm {} \;
+ rm -rf $(TOP)/scratch/*
realclean:
@echo Deleting all built files in $(TOP)
@@ -212,6 +214,7 @@ realclean:
rm -rf $(TOP)/bindings
rm -rf $(TOP)/config-data/make.thornlist
rm -rf $(TOP)/lib/*
+ rm -rf $(TOP)/scratch/*
rm -f datestamp.o
# This target allows thorns to add to $(ALL_UTILS) and then