forked from geodynamics/axisem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
copytemplates.sh
executable file
·24 lines (22 loc) · 943 Bytes
/
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
#!/bin/bash
if [ $# -eq 1 ] && [ $1 == 'release' ]; then
echo "Copying files for fast code"
cp make_axisem.macros_release.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/inparam_basic.TEMPLATE inparam_basic
cp SOLVER/inparam_advanced.TEMPLATE 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