⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 build_all.bash

📁 实现地震射线追踪和反演的frotran程序
💻 BASH
字号:
#!/bin/bash## This script should make rayinvr and all other programs## Scott Pearse (scott.pearse@durham.ac.uk)echo -e "\n*************************************************************************\nThis script will make rayinvr and all the programs in all the directories\nYou will receive compilation warnings on stdout\n*************************************************************************\n"\rm */*.o >& /dev/nullcd    rayinvr;make rayinvr;make xrayinvrcd ../rayplot;make rayplot 2>& /dev/null;make xrayplotcd ../pltsyn ;make pltsyn ;make xpltsyn cd ../vmodel ;make vmodel ;make xvmodel cd ../tramp  ;make tramp  ;make xtramp  # Misc has no make filecd ../miscfor i in $(ls *.f); do echo -e "f77 $i -o $(echo $i | awk -F . '{print "../bin/"$1}')";f77 $i -o $(echo $i | awk -F . '{print "../bin/"$1}'); done# Finish up, remove objectsecho -e "\n*************************************************************************\nCleaning up\n"\rm */*.o >& /dev/nullecho -e "Finished!\nCompiled binaries are in ./bin\n*************************************************************************\n\n"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -