继续翻译
复制代码
It is standard practice for every makefile to have a variable named
`objects', `OBJECTS', `objs', `OBJS', `obj', or `OBJ' which is a list
of all object file names. We would define such a variable `objects'
with a line like this in the makefile:
objects = main.o kbd.o command.o display.o \
insert.o search.o files.o utils.o
复制代码
在每个 makefile中,使用 如 'objects','OBJECTS','objs','obj',或'OBJ'作为 目标文件的名称,是很通用的做法。我们要定义一个名为 'objects'的变量,如下:
objects = main.o kbd.o command.o display.o \
insert.o search.o files.o utils.o
后文待续
本文转自健哥的数据花园博客园博客,原文链接:http://www.cnblogs.com/gaojian/archive/2012/09/13/2683424.html,如需转载请自行联系原作者