summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-01-22 09:09:11 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-01-22 09:09:11 +0000
commit8e97282f8e8c1c9862ed9a7b7e92b7274cda7f61 (patch)
tree3d1fcc11a2364cd613488d8b60c3d4a14fa36b6f
parentc0a4a8884e773bcd9ce5a0481fd992c4a1187c35 (diff)
Added dependency of make.thornlist on the .ccl files.
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@106 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r--lib/make/make.configuration5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/make/make.configuration b/lib/make/make.configuration
index 9899c345..113f4c7e 100644
--- a/lib/make/make.configuration
+++ b/lib/make/make.configuration
@@ -74,9 +74,10 @@ include $(CONFIG)/make.config.deps
# Rule to build the make.thornlist file from the ActiveThorns file
-$(CONFIG)/make.thornlist: $(TOP)/ActiveThorns
+$(CONFIG)/make.thornlist: $(TOP)/ActiveThorns $(foreach lib, $(CCTK_HOME)/src $(THORNS:%=$(TOOLKIT_DIR)/%), $(lib)/param.ccl $(lib)/interface.ccl $(lib)/schedule.ccl)
@echo $(DIVIDER)
- @echo Configuring thorns
+ if [ -r $@ ] ; then echo Reconfiguring thorns ; rm $@ ;\
+ else echo Configuring thorns ; fi
$(PERL) -s $(CCTK_HOME)/lib/sbin/config_parser.pl -config_dir=$(CONFIG) -cctk_home=$(CCTK_HOME) -top=$(TOP) $<
# Rule to build ActiveThorns