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

📄 unix.jam

📁 经典开源游戏glest的源代码
💻 JAM
字号:
#============================================================================# Jam configuration and actions for Linux/Unix#============================================================================SHELL ?= "/bin/sh" ;#----------------------------------------------------------------------------# platform specific rules##  ConstructApplicationTarget target : options##    Constructs the application atrget name (ie. foo.exe for foo)rule ConstructApplicationTarget{    return $(<) ;}rule ConstructLibraryTarget{    if [ IsElem shared : $(2) ] {        return lib$(<).la ;    } else {        return lib$(<).a ;    }}rule ConstructPluginTarget{    return $(<).so ;}# SystemLinkApplication target : objects : options#  do system specific actions needed for linking the application and construct#  correct clean targets.rule SystemLinkApplication{    local target = $($(<)_TARGET) ;      Depends $(target) : $(>) ;    LinkApplication $(target) : $(>) ;    LIBS on $(target)    = $(LIBS) ;    LDFLAGS on $(target) = $(LDFLAGS) ;    # setup clean rules    Clean clean : $(target) ;    Clean $(<)clean : $(target) ;}actions LinkApplication bind NEEDLIBS bind EXTRAOBJECTS{    $(LINK) -o $(<) $(>) $(EXTRAOBJECTS) $(NEEDLIBS) $(LDFLAGS) $(LIBS)}

⌨️ 快捷键说明

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