-
Notifications
You must be signed in to change notification settings - Fork 31
/
copytemplates.sh
executable file
·28 lines (25 loc) · 1.07 KB
/
copytemplates.sh
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
#!/bin/bash
if [ $# -eq 1 ] && [ $1 == 'release' ]; then
echo "Copying files for fast code"
cp make_axisem.macros_release.TEMPLATE make_axisem.macros
elif [ $# -eq 1 ] && [ $1 == 'coverage' ]; then
echo "Copying files for coverage analysis"
cp make_axisem.macros_coverage.TEMPLATE make_axisem.macros
else
echo "Copying files for debugging"
cp make_axisem.macros.TEMPLATE make_axisem.macros
fi
cp MESHER/Makefile.TEMPLATE MESHER/Makefile
cp MESHER/Makefile.TEMPLATE MESHER/Makefile
cp MESHER/inparam_mesh.TEMPLATE MESHER/inparam_mesh
cp SOLVER/Makefile.TEMPLATE SOLVER/Makefile
cp SOLVER/UTILS/Makefile.TEMPLATE SOLVER/UTILS/Makefile
cp SOLVER/inparam_basic.TEMPLATE SOLVER/inparam_basic
cp SOLVER/inparam_advanced.TEMPLATE SOLVER/inparam_advanced
cp SOLVER/STATIONS.TEMPLATE SOLVER/STATIONS
cp SOLVER/inparam_source.TEMPLATE SOLVER/inparam_source
cp SOLVER/inparam_hetero.TEMPLATE SOLVER/inparam_hetero
cp SOLVER/CMTSOLUTION.TEMPLATE SOLVER/CMTSOLUTION
cp Makefile.TEMPLATE Makefile
cp SOLVER/inparam_basic.TEMPLATE inparam_basic
cp SOLVER/inparam_advanced.TEMPLATE inparam_advanced