diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-10-26 09:40:58 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-10-26 09:40:58 +0000 |
commit | eaa42008a9190a6a82d50a1fb49e1279d1304ff0 (patch) | |
tree | e782ab0522eb2531f675d9cc8e755a3f37c39a12 /Makefile | |
parent | 6c12c5d87ac0b0163de11bf1f61fac4e602e0d2e (diff) |
Added -editthorns to allow you to edit your thornlist.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1104 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 27 |
1 files changed, 26 insertions, 1 deletions
@@ -16,7 +16,7 @@ # # # @enddesc -# @version $Id: Makefile,v 1.53 1999-10-24 18:03:52 goodale Exp $ +# @version $Id: Makefile,v 1.54 1999-10-26 09:40:57 goodale Exp $ # @@*/ ################################################################################## @@ -276,6 +276,7 @@ else @echo " -config : to (re)configure a configuration. " @echo " (runs or reruns the configuration scripts)." @echo " -thornlist : regenerates the ThornList file. " + @echo " -editthorns : edits the ThornList file. " @echo " -thornparfiles : copies example parameter files to thornparfiles." endif @echo $(DIVIDER) @@ -477,6 +478,30 @@ endif @echo Configuration $(@:%-thornlist=%) does not exist. @echo Regeneration of compiled ThornList aborted. +# Edit the thornlist + +.PHONY editthorn: + +editthorns: + @echo $(DIVIDER) + @echo Please specify a configuration to edit the thornlist of. + @echo $(DIVIDER) + + +ifneq ($strip($(CONFIGURATIONS)),) +.PHONY $(addsuffix -editthorns,$(CONFIGURATIONS)): + +$(addsuffix -editthorns,$(CONFIGURATIONS)): + @echo $(DIVIDER) + @echo Editing compiled ThornList $(@:%-editthorn=%) + $(MAKE) -f $(CCTK_HOME)/lib/make/make.configuration TOP=$(CONFIGS_DIR)/$(@:%-editthorns=%) CCTK_HOME=$(CCTK_HOME) editthorns +endif + +%-editthorns: + @echo $(DIVIDER) + @echo Configuration $(@:%-editthorns=%) does not exist. + @echo Editing of compiled ThornList aborted. + # Rerun the configuration script .PHONY config: |