mkdep.sh

来自「Apache V2.0.15 Alpha For Linuxhttpd-2_0_」· Shell 代码 · 共 13 行

SH
13
字号
#!/bin/sh## 1) remove everything after the DO NOT REMOVE# 2) generate the dependencies, adding them to the end of Makefile.new# 3) move the Makefile.new back into place## Note that we use && to ensure that Makefile is not changed if an error# occurs during the process#sed -ne '1,/^# DO NOT REMOVE/p' Makefile > Makefile.new \    && gcc -MM  $* | sed -e "s/\.o:/\.lo:/" >> Makefile.new \    && mv Makefile.new Makefile

⌨️ 快捷键说明

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