aboutsummaryrefslogtreecommitdiff
path: root/m/Makefile
blob: 08e4f70d8174b007ddb0686cf5d467592c864c1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# -*-Makefile-*-

all: McLachlan_ADM.out McLachlan_BSSN.out McLachlanW.out WaveToy.out hydro.out
	@echo
	@echo "The Cactus thorns are up to date."
	@echo

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

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

McLachlanW.out: McLachlanW.m
	rm -rf ML_BSSNW
	./runmath.sh $^
	for thorn in ML_BSSNW; do ./copy-if-changed.sh $$thorn ../$$thorn; done

McLachlanUp.out: McLachlanUp.m
	rm -rf ML_BSSNUp
	./runmath.sh $^
	for thorn in ML_BSSNUp; do ./copy-if-changed.sh $$thorn ../$$thorn; done

McLachlan6.out: McLachlan6.m
	rm -rf ML_BSSN6
	./runmath.sh $^
	for thorn in ML_BSSN6; do ./copy-if-changed.sh $$thorn ../$$thorn; 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

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

hydro.out: hydro.m
	rm -rf ML_hydro
	./runmath.sh $^
	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

.PHONY: all clean