diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2009-04-28 13:28:28 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2009-04-28 13:28:28 -0500 |
commit | 3cc8f7c0557609bb1ad0edfc4986c12cdaa41233 (patch) | |
tree | 27fbcc70ae08615d0cdde3ea6c6886f3386c9b11 /m/Makefile | |
parent | 20a951ae90552fd2bda42af987b1e082adba0de3 (diff) |
Create helper thorns automatically from a prototype
Diffstat (limited to 'm/Makefile')
-rw-r--r-- | m/Makefile | 56 |
1 files changed, 42 insertions, 14 deletions
@@ -8,49 +8,77 @@ all: McLachlan_ADM.out McLachlan_BSSN.out McLachlanW.out WaveToy.out hydro.out McLachlan_ADM.out: McLachlan_ADM.m rm -rf ML_ADM* ./runmath.sh $^ - for thorn in ML_ADM*; do ./copy-if-changed.sh $$thorn ../$$thorn; done + for thorn in ML_ADM*; do \ + ./copy-if-changed.sh $$thorn ../$$thorn; \ + done McLachlan_BSSN.out: McLachlan_BSSN.m rm -rf ML_BSSN* ./runmath.sh $^ - for thorn in ML_BSSN*; do ./copy-if-changed.sh $$thorn ../$$thorn; done + for thorn in ML_BSSN*; do \ + ./copy-if-changed.sh $$thorn ../$$thorn; \ + ./create-helper-thorn.sh $$thorn; \ + ./copy-if-changed.sh $${thorn}_Helper ../$${thorn}_Helper; \ + done McLachlanW.out: McLachlanW.m rm -rf ML_BSSNW ./runmath.sh $^ - for thorn in ML_BSSNW; do ./copy-if-changed.sh $$thorn ../$$thorn; done + for thorn in ML_BSSNW; do \ + ./copy-if-changed.sh $$thorn ../$$thorn; \ + ./create-helper-thorn.sh $$thorn; \ + ./copy-if-changed.sh $${thorn}_Helper ../$${thorn}_Helper; \ + done McLachlanUp.out: McLachlanUp.m rm -rf ML_BSSNUp ./runmath.sh $^ - for thorn in ML_BSSNUp; do ./copy-if-changed.sh $$thorn ../$$thorn; done + for thorn in ML_BSSNUp; do \ + ./copy-if-changed.sh $$thorn ../$$thorn; \ + ./create-helper-thorn.sh $$thorn; \ + ./copy-if-changed.sh $${thorn}_Helper ../$${thorn}_Helper; \ + done McLachlan6.out: McLachlan6.m rm -rf ML_BSSN6 ./runmath.sh $^ - for thorn in ML_BSSN6; do ./copy-if-changed.sh $$thorn ../$$thorn; done + for thorn in ML_BSSN6; do \ + ./copy-if-changed.sh $$thorn ../$$thorn; \ + ./create-helper-thorn.sh $$thorn; \ + ./copy-if-changed.sh $${thorn}_Helper ../$${thorn}_Helper; \ + done McLachlan_Psilon.out: McLachlan_Psilon.m rm -rf ML_Psilon* ./runmath.sh $^ - for thorn in ML_Psilon*; do ./copy-if-changed.sh $$thorn ../$$thorn; done + for thorn in ML_Psilon*; do \ + ./copy-if-changed.sh $$thorn ../$$thorn; \ + done WaveToy.out: WaveToy.m rm -rf ML_WaveToy ML_FOWaveToy ./runmath.sh $^ - for thorn in ML_WaveToy ML_FOWaveToy; do ./copy-if-changed.sh $$thorn ../$$thorn; done + for thorn in ML_WaveToy ML_FOWaveToy; do \ + ./copy-if-changed.sh $$thorn ../$$thorn; \ + done hydro.out: hydro.m rm -rf ML_hydro ./runmath.sh $^ - for thorn in ML_hydro; do ./copy-if-changed.sh $$thorn ../$$thorn; done + for thorn in ML_hydro; do \ + ./copy-if-changed.sh $$thorn ../$$thorn; \ + done clean: - rm -rf McLachlan_ADM.out McLachlan_ADM.err ML_ADM* - rm -rf McLachlan_BSSN.out McLachlan_BSSN.err ML_BSSN* - rm -rf McLachlanW.out McLachlanW.err - rm -rf McLachlanUp.out McLachlanUp.err - rm -rf McLachlan6.out McLachlan6.err - rm -rf WaveToy.out WaveToy.err ML_WaveToy ML_FOWaveToy + rm -rf ML_ADM* ML_BSSN* + rm -rf ML_WaveToy ML_FOWaveToy + rm -rf ML_hydro + rm -rf McLachlan_ADM.out McLachlan_ADM.err + rm -rf McLachlan_BSSN.out McLachlan_BSSN.err + rm -rf McLachlanW.out McLachlanW.err + rm -rf McLachlanUp.out McLachlanUp.err + rm -rf McLachlan6.out McLachlan6.err + rm -rf WaveToy.out WaveToy.err + rm -rf hydro.out hydro.err .PHONY: all clean |