blob: e63f9b2157fa951f84f064b7afd23f06b99a4d2d (
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# -*-Makefile-*-
all: McLachlan_ADM.out McLachlan_BSSN.out McLachlan_ADMConstraints.out McLachlan_ADMQuantities.out WaveToy.out WaveToyFO.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* ML_CCZ4*
./runmath.sh $^
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
./copy-if-changed.sh ML_CCZ4 ../ML_CCZ4
McLachlan_ADMConstraints.out: McLachlan_ADMConstraints.m
rm -rf ML_ADMConstraints*
./runmath.sh $^
for thorn in ML_ADMConstraints*; do \
./copy-if-changed.sh $$thorn ../$$thorn; \
done
McLachlan_ADMQuantities.out: McLachlan_ADMQuantities.m
rm -rf ML_ADMQuantities*
./runmath.sh $^
for thorn in ML_ADMQuantities*; do \
./copy-if-changed.sh $$thorn ../$$thorn; \
done
WaveToy.out: WaveToy.m
rm -rf ML_WaveToy
./runmath.sh $^
for thorn in ML_WaveToy; do \
./copy-if-changed.sh $$thorn ../$$thorn; \
done
WaveToyFO.out: WaveToyFO.m
rm -rf ML_WaveToyFO
./runmath.sh $^
for thorn in ML_WaveToyFO; 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 ML_ADM ML_BSSN* ML_CCZ4* ML_ADMConstraints* ML_ADMQuantities*
rm -rf ML_WaveToy ML_WaveToyFO
rm -rf ML_hydro
rm -f McLachlan_ADM.out McLachlan_ADM.err
rm -f McLachlan_BSSN.out McLachlan_BSSN.err
rm -f McLachlan_ADMConstraints.out McLachlan_ADMConstraints.err
rm -f McLachlan_ADMQuantities.out McLachlan_ADMQuantities.err
rm -f WaveToy.out WaveToy.err
rm -f hydro.out hydro.err
.PHONY: all clean
|