summaryrefslogtreecommitdiff
path: root/lib/make/make.configuration
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-09-26 01:02:07 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-09-26 01:02:07 +0000
commit373e49fdeac6a0e592269464acd6bef1f6405858 (patch)
treef68742532ed92eb67ae14b7537752873be323206 /lib/make/make.configuration
parent951bfd4f4be1618449139ab25324698bfbcdb5c3 (diff)
Create the scratch directories in the configurations when the
configuration is created, not when it is built. This allows make to examine this directory for dependencies. (Make refuses to examine non-existing directories.) git-svn-id: http://svn.cactuscode.org/flesh/trunk@4148 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/make.configuration')
-rw-r--r--lib/make/make.configuration6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/make/make.configuration b/lib/make/make.configuration
index a1641880..2d7c21c0 100644
--- a/lib/make/make.configuration
+++ b/lib/make/make.configuration
@@ -273,7 +273,7 @@ editthorns:
clean:
@echo Deleting all object and dependency files in $(TOP)
find $(TOP) \( -name '*.[od]' -o -name '*.a' \) -exec rm {} \;
- rm -rf $(TOP)/scratch
+ rm -rf $(TOP)/scratch; $(MKDIR) $(MKDIRFLAGS) $(TOP)/scratch
cleandeps:
@echo Deleting all dependency files in $(TOP)
@@ -282,7 +282,7 @@ cleandeps:
cleanobjs:
@echo Deleting all object files in $(TOP)
find $(TOP) \( -name '*.[o]' -o -name '*.a' \) -exec rm {} \;
- rm -rf $(TOP)/scratch
+ rm -rf $(TOP)/scratch; $(MKDIR) $(MKDIRFLAGS) $(TOP)/scratch
realclean:
@echo Deleting all built files in $(TOP)
@@ -290,7 +290,7 @@ realclean:
rm -rf $(TOP)/bindings
rm -rf $(TOP)/config-data/make.thornlist
rm -rf $(TOP)/lib/*
- rm -rf $(TOP)/scratch
+ rm -rf $(TOP)/scratch; $(MKDIR) $(MKDIRFLAGS) $(TOP)/scratch
rm -f datestamp.o
# This target will build only a subset of the thorns for a given configuration.