makefile编写规则
在一个makefile中通常包含如下内容:
1 需要由make工具创建的目标体(target),通常是目标文件或可执行文件
2 要创建的目标体所依赖的文件(dependency_file)
3 创建每个目标体时需要运行的命令(command),这一行必须以制表符(tab键)开头
格式:
target: dependency_files
comma...
分类:
系统相关 时间:
2015-04-30 14:27:03
阅读次数:
223
这三句是开头必须的:AC_PREREQ([2.63])AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])AM_INIT_AUTOMAKE(GameServer,1.0)AC_PROG_CC:检查系统可用的C 编译器AC_PROG...
分类:
其他好文 时间:
2015-04-28 11:15:56
阅读次数:
110
安装包和主要步骤:1. 首先安装系统基础环境RHEL & CentOS 系列:yum install -y automake autoconf libtool gcc gcc-c++Debian & Ubuntu 系列:apt-get install automake autoconf libtoo...
分类:
系统相关 时间:
2015-04-28 01:49:57
阅读次数:
246
autotools是个系列工具,首先确认你的Ubuntu系统是否安装了以下工具(可以通过which命令查看):
aclocal
autoscan
autoconf
autoheader
automake
---------------------------------------------------------------------------------
安装方...
分类:
其他好文 时间:
2015-04-25 01:42:13
阅读次数:
216
Prepare:sudo apt-get install libtool autoconf automake uuid-devsudo apt-get install python-devsudo apt-get install g++sudo apt-get install python-setu...
分类:
系统相关 时间:
2015-04-23 17:24:36
阅读次数:
231
scons是一个Python写的自动化构建工具,需要安装python和scons后才能运行,能够跨平台。其集成功能类似于autoconf/automake ,是一个简洁可靠的工具。现在很多系统都自带python 所以直接安装scons即可。(本文只作日志记录) 安装scons1.准备工作检测一下系统...
分类:
系统相关 时间:
2015-04-23 17:18:42
阅读次数:
214
一、首先安装以下软件:yuminstall-ygccgcc-c++autoconfautomakeyuminstall-yzlibzlib-developensslopenssl-develpcre-devel--->其中gcc,gcc-c++,autoconf,automake,pcre-devel是必须安装的软件。二、下载源码包,并解压:tar-zxvfnginx-1.6.3.tar.gzcdnginx-1.6.3三、编译n..
分类:
其他好文 时间:
2015-04-22 02:09:45
阅读次数:
147
安装ngnixyum install -y make apr* autoconf automake curl curl-devel gcc gcc-c++ gtk+-devel zlib-devel pcre-develwget http://nginx.org/download/nginx-1.7...
分类:
其他好文 时间:
2015-04-18 01:12:13
阅读次数:
255
第一步,下载scim-googlepinyin
cd scim-googlepinyin
第二步,安装autotools-dev libgtk2.0-dev libscim-dev libtool automake scim
aptitude install autotools-dev libgtk2.0-dev libscim-dev libtool automake
第三步,都是在...
分类:
系统相关 时间:
2015-04-11 14:53:18
阅读次数:
367
系统为CentOS 6.4,自己编译ffmpeg和众多解码器太痛苦了,yum方式安装ffmpeg的解码器很全,先用用看。 1、安装所需软件yum install -y automake autoconf libtool gcc gcc-c++2、安装第三方更新源rpm -ivh http://apt...
分类:
其他好文 时间:
2015-04-02 14:44:12
阅读次数:
143