Makefile

所属分类:Linux/Unix编程
开发工具:Unix_Linux
文件大小:62KB
下载次数:89
上传日期:2010-09-07 23:50:33
上 传 者yyrong
说明:  本文介绍了Unix/Linux平台上如何编写Makefile来自动编译C/C++。一个工程中的源文件不计数,其按类型、功能、模块分别放在若干个目录中,makefile定义了一系列的规则来指定,哪些文件需要先编译,哪些文件需要后编译,哪些文件需要重新编译,甚至于进行更复杂的功能操作,因为 makefile就像一个Shell脚本一样,其中也可以执行操作系统的命令。
(This article describes the Unix/Linux platform, how to write a Makefile to automatically compile C/C++. A project in the source file does not count, its by type, function, modules are placed in several directories, makefile defines a series of rules to specify which files need to compile, after which files need to be compiled, which files need to re- compile, and even more complex functional operations, because the same makefile as a Shell script, which can also run operating system commands.)

文件列表:
Makefile教程 跟我一起写Makefile.mht (232948, 2009-08-08)

近期下载者

相关文件


收藏者