作来说,它也算相当有用的了。
2.8 一个更好的 makefile
这是一个我为我大多数项目设计的 makefile 。它应该可以不需要修 改的用在大部分项目里。我主要把它用在 djgpp 上,那是一个 DOS 版的 gcc
编译器。因此你可以看到执行的命令名、 'alleg' 程序包、 和 RM -F 变量都反映了这一点。
=== makefile 开始
===
###################################### # #
Generic makefile # # by George Foot # email: george.foot@merton.ox.ac.uk
# # Copyright (c) 1997 George Foot # All rights
reserved. # 保留所有版权 # # No warranty, no liability;
# you use this at your own risk. # 没保险,不负责 #
你要用这个,你自己担风险 # # You are free to modify and #
distribute this without giving # credit to the original author.
# 你可以随便更改和散发这个文件 # 而不需要给原作者什么荣誉。 # (你好意思?) #
|