📄 一套完整的makefile样板 - c-c++讨论区-原创精华帖.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0053)http://bbs.chinaunix.net/forum/viewtopic.php?t=534829 -->
<HTML
dir=ltr><HEAD><TITLE>一套完整的makefile样板 - C/C++讨论区/原创精华帖 - - ChinaUnix.net</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META http-equiv=Content-Style-Type content=text/css><LINK title=阅读上一个主题
href="/forum/viewtopic.php?t=534829&show_type=&view=previous"
rel=prev><LINK title=阅读下一个主题
href="/forum/viewtopic.php?t=534829&show_type=&view=next" rel=next><LINK
title=C/C++ href="/forum/viewforum.php?f=23" rel=up><LINK title=站务交流
href="viewforum.php?f=2" rel="chapter forum"><LINK title=版主会议室
href="viewforum.php?f=3" rel="chapter forum"><LINK title=业界新闻与评论
href="viewforum.php?f=46" rel="chapter forum"><LINK title=Linux
href="viewforum.php?f=4" rel="chapter forum"><LINK title="Linux 高级应用"
href="viewforum.php?f=36" rel="chapter forum"><LINK title=BSD
href="viewforum.php?f=5" rel="chapter forum"><LINK title=Solaris
href="viewforum.php?f=6" rel="chapter forum"><LINK title="SCO UNIX"
href="viewforum.php?f=7" rel="chapter forum"><LINK title=HP-UX
href="viewforum.php?f=8" rel="chapter forum"><LINK title=AIX
href="viewforum.php?f=9" rel="chapter forum"><LINK title="IBM AS400应用论坛"
href="viewforum.php?f=10" rel="chapter forum"><LINK title="Tru64 UNIX"
href="viewforum.php?f=11" rel="chapter forum"><LINK title=IRIX
href="viewforum.php?f=12" rel="chapter forum"><LINK title="Mac OS X"
href="viewforum.php?f=41" rel="chapter forum"><LINK title=Web服务器
href="viewforum.php?f=13" rel="chapter forum"><LINK title=Mail服务器
href="viewforum.php?f=14" rel="chapter forum"><LINK title=FTP服务器
href="viewforum.php?f=15" rel="chapter forum"><LINK title=DNS服务器
href="viewforum.php?f=16" rel="chapter forum"><LINK title=Proxy服务器
href="viewforum.php?f=38" rel="chapter forum"><LINK title=LDAP
href="viewforum.php?f=49" rel="chapter forum"><LINK title=VPN
href="viewforum.php?f=50" rel="chapter forum"><LINK title=Lotus
href="viewforum.php?f=52" rel="chapter forum"><LINK title=MySQL
href="viewforum.php?f=17" rel="chapter forum"><LINK title=PostgreSQL
href="viewforum.php?f=18" rel="chapter forum"><LINK title=Oracle
href="viewforum.php?f=19" rel="chapter forum"><LINK title=Informix
href="viewforum.php?f=20" rel="chapter forum"><LINK title=Sybase
href="viewforum.php?f=21" rel="chapter forum"><LINK title=DB2
href="viewforum.php?f=22" rel="chapter forum"><LINK title=Shell
href="viewforum.php?f=24" rel="chapter forum"><LINK title=C/C++
href="viewforum.php?f=23" rel="chapter forum"><LINK title=Perl
href="viewforum.php?f=25" rel="chapter forum"><LINK title=Java
href="viewforum.php?f=26" rel="chapter forum"><LINK title=Php
href="viewforum.php?f=27" rel="chapter forum"><LINK title=软件工程技术
href="viewforum.php?f=28" rel="chapter forum"><LINK title=系统和网络安全
href="viewforum.php?f=29" rel="chapter forum"><LINK title=网络技术及应用
href="viewforum.php?f=30" rel="chapter forum"><LINK title=存储备份之家
href="viewforum.php?f=34" rel="chapter forum"><LINK title=硬件技术
href="viewforum.php?f=45" rel="chapter forum"><LINK title=清茶斋
href="viewforum.php?f=31" rel="chapter forum"><LINK title=IT职业生涯
href="viewforum.php?f=32" rel="chapter forum"><LINK title="English Forum"
href="viewforum.php?f=33" rel="chapter forum"><LINK title=运动地带
href="viewforum.php?f=39" rel="chapter forum"><LINK title=快乐数码摄影
href="viewforum.php?f=40" rel="chapter forum"><LINK title=影音文字
href="viewforum.php?f=48" rel="chapter forum"><LINK title=IT培训与认证
href="viewforum.php?f=53" rel="chapter forum"><LINK title=二手大厅
href="viewforum.php?f=54" rel="chapter forum"><LINK title=博客站务交流区
href="viewforum.php?f=51" rel="chapter forum"><!-- link rel="stylesheet" href="/forum/templates/subSilver/subSilver.css" type="text/css" -->
<STYLE type=text/css>@import url( templates/subSilver/formIE.css );
BODY {
SCROLLBAR-FACE-COLOR: #dee3e7; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; SCROLLBAR-SHADOW-COLOR: #dee3e7; SCROLLBAR-3DLIGHT-COLOR: #d1d7dc; SCROLLBAR-TRACK-COLOR: #efefef; SCROLLBAR-DARKSHADOW-COLOR: #98aab1; BACKGROUND-COLOR: #ffffff
}
FONT {
FONT-FAMILY: 'song',Verdana
}
TH {
FONT-FAMILY: 'song',Verdana
}
TD {
FONT-FAMILY: 'song',Verdana
}
P {
FONT-FAMILY: 'song',Verdana
}
A:link {
}
A:active {
}
A:visited {
}
A:hover {
COLOR: #dd6900; TEXT-DECORATION: underline
}
HR {
BORDER-RIGHT: #d1d7dc 0px solid; BORDER-TOP: #d1d7dc 1px solid; BORDER-LEFT: #d1d7dc 0px solid; BORDER-BOTTOM: #d1d7dc 0px solid; HEIGHT: 0px
}
.bodyline {
BORDER-RIGHT: #98aab1 1px solid; BORDER-TOP: #98aab1 1px solid; BORDER-LEFT: #98aab1 1px solid; BORDER-BOTTOM: #98aab1 1px solid; BACKGROUND-COLOR: #ffffff
}
.forumline {
BORDER-RIGHT: #9898ba 0px solid; BORDER-TOP: #9898ba 0px solid; BORDER-LEFT: #9898ba 0px solid; BORDER-BOTTOM: #9898ba 0px solid; BACKGROUND-COLOR: #000000
}
TD.row1 {
BACKGROUND-COLOR: #f0f3fa
}
TD.row2 {
BACKGROUND-COLOR: #fafbfc
}
TD.row3 {
BACKGROUND-COLOR: #d1d7dc
}
TD.rowpic {
BACKGROUND-REPEAT: repeat-y; BACKGROUND-COLOR: #d1d9e2
}
TH {
FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: #333333; HEIGHT: 25px; BACKGROUND-COLOR: #9898ba
}
TD.cat {
BORDER-RIGHT: #9898ba solid; BORDER-TOP: #9898ba solid; BORDER-LEFT: #9898ba solid; BORDER-BOTTOM: #9898ba solid; HEIGHT: 28px; BACKGROUND-COLOR: #d1d9e2
}
TD.catHead {
BORDER-RIGHT: #9898ba solid; BORDER-TOP: #9898ba solid; BORDER-LEFT: #9898ba solid; BORDER-BOTTOM: #9898ba solid; HEIGHT: 28px; BACKGROUND-COLOR: #d1d9e2
}
TD.catSides {
BORDER-RIGHT: #9898ba solid; BORDER-TOP: #9898ba solid; BORDER-LEFT: #9898ba solid; BORDER-BOTTOM: #9898ba solid; HEIGHT: 28px; BACKGROUND-COLOR: #d1d9e2
}
TD.catLeft {
BORDER-RIGHT: #9898ba solid; BORDER-TOP: #9898ba solid; BORDER-LEFT: #9898ba solid; BORDER-BOTTOM: #9898ba solid; HEIGHT: 28px; BACKGROUND-COLOR: #d1d9e2
}
TD.catRight {
BORDER-RIGHT: #9898ba solid; BORDER-TOP: #9898ba solid; BORDER-LEFT: #9898ba solid; BORDER-BOTTOM: #9898ba solid; HEIGHT: 28px; BACKGROUND-COLOR: #d1d9e2
}
TD.catBottom {
BORDER-RIGHT: #9898ba solid; BORDER-TOP: #9898ba solid; BORDER-LEFT: #9898ba solid; BORDER-BOTTOM: #9898ba solid; HEIGHT: 28px; BACKGROUND-COLOR: #d1d9e2
}
TD.cat {
BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 29px; BORDER-RIGHT-WIDTH: 0px
}
TD.catHead {
BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 29px; BORDER-RIGHT-WIDTH: 0px
}
TD.catBottom {
BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 29px; BORDER-RIGHT-WIDTH: 0px
}
TH.thHead {
BORDER-RIGHT: #ffffff solid; BORDER-TOP: #ffffff solid; FONT-WEIGHT: bold; BORDER-LEFT: #ffffff solid; BORDER-BOTTOM: #ffffff solid; HEIGHT: 28px
}
TH.thSides {
BORDER-RIGHT: #ffffff solid; BORDER-TOP: #ffffff solid; FONT-WEIGHT: bold; BORDER-LEFT: #ffffff solid; BORDER-BOTTOM: #ffffff solid; HEIGHT: 28px
}
TH.thTop {
BORDER-RIGHT: #ffffff solid; BORDER-TOP: #ffffff solid; FONT-WEIGHT: bold; BORDER-LEFT: #ffffff solid; BORDER-BOTTOM: #ffffff solid; HEIGHT: 28px
}
TH.thLeft {
BORDER-RIGHT: #ffffff solid; BORDER-TOP: #ffffff solid; FONT-WEIGHT: bold; BORDER-LEFT: #ffffff solid; BORDER-BOTTOM: #ffffff solid; HEIGHT: 28px
}
TH.thRight {
BORDER-RIGHT: #ffffff solid; BORDER-TOP: #ffffff solid; FONT-WEIGHT: bold; BORDER-LEFT: #ffffff solid; BORDER-BOTTOM: #ffffff solid; HEIGHT: 28px
}
TH.thBottom {
BORDER-RIGHT: #ffffff solid; BORDER-TOP: #ffffff solid; FONT-WEIGHT: bold; BORDER-LEFT: #ffffff solid; BORDER-BOTTOM: #ffffff solid; HEIGHT: 28px
}
TH.thCornerL {
BORDER-RIGHT: #ffffff solid; BORDER-TOP: #ffffff solid; FONT-WEIGHT: bold; BORDER-LEFT: #ffffff solid; BORDER-BOTTOM: #ffffff solid; HEIGHT: 28px
}
TH.thCornerR {
BORDER-RIGHT: #ffffff solid; BORDER-TOP: #ffffff solid; FONT-WEIGHT: bold; BORDER-LEFT: #ffffff solid; BORDER-BOTTOM: #ffffff solid; HEIGHT: 28px
}
TD.row3Right {
BORDER-RIGHT: #9898ba solid; BORDER-TOP: #9898ba solid; BORDER-LEFT: #9898ba solid; BORDER-BOTTOM: #9898ba solid; BACKGROUND-COLOR: #d1d7dc
}
TD.spaceRow {
BORDER-RIGHT: #9898ba solid; BORDER-TOP: #9898ba solid; BORDER-LEFT: #9898ba solid; BORDER-BOTTOM: #9898ba solid; BACKGROUND-COLOR: #d1d7dc
}
TH.thHead {
BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 13px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 1px
}
TD.catHead {
BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 13px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 1px
}
TH.thSides {
BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 1px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 1px
}
TD.catSides {
BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 1px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 1px
}
TD.spaceRow {
BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 1px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 1px
}
TH.thRight {
BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 1px
}
TD.catRight {
BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 1px
}
TD.row3Right {
BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 1px
}
TH.thLeft {
BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 1px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px
}
TD.catLeft {
BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 1px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px
}
TH.thBottom {
BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 1px; BORDER-BOTTOM-WIDTH: 1px; BORDER-RIGHT-WIDTH: 1px
}
TD.catBottom {
BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 1px; BORDER-BOTTOM-WIDTH: 1px; BORDER-RIGHT-WIDTH: 1px
}
TH.thTop {
BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px
}
TH.thCornerL {
BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px
}
TH.thCornerR {
BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 1px
}
.maintitle {
FONT-WEIGHT: bold; FONT-SIZE: 22px; LINE-HEIGHT: 120%; FONT-FAMILY: "'song',Verdana",'song',Verdana; TEXT-DECORATION: none
}
.gen {
FONT-SIZE: 13px
}
.genmed {
FONT-SIZE: 12px
}
.gensmall {
FONT-SIZE: 12px
}
.gen {
}
.genmed {
}
.gensmall {
}
A.gen {
TEXT-DECORATION: none
}
A.genmed {
TEXT-DECORATION: none
}
A.gensmall {
TEXT-DECORATION: none
}
A.gen:hover {
COLOR: #dd6900; TEXT-DECORATION: underline
}
A.genmed:hover {
COLOR: #dd6900; TEXT-DECORATION: underline
}
A.gensmall:hover {
COLOR: #dd6900; TEXT-DECORATION: underline
}
.mainmenu {
FONT-SIZE: 12px
}
A.mainmenu {
TEXT-DECORATION: none
}
A.mainmenu:hover {
COLOR: #dd6900; TEXT-DECORATION: underline
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -