高端网站开发哪家好,教育网站开发需求,大连网站建设特色,网络公司网站模板Makefile的规则如下#xff1a; target ... : prerequisites ... command ... ... target可以是一个目标文件#xff0c;也可以是Object File#xff08;例如helloworld.obj#xff09;#xff0c;也可以是执行文件和标签。 prerequisites就是生成target所需要的文件或是目…Makefile的规则如下 target ... : prerequisites ... command ... ... target可以是一个目标文件也可以是Object File例如helloworld.obj也可以是执行文件和标签。 prerequisites就是生成target所需要的文件或是目标。 command也就是要达到target这个目标所需要执行的命令。 下面就是编译helloworld的makefile。 helloworld : helloworld.o cc -o helloworld helloworld .o helloworld.o : helloworld.c cc -c main.c clean: rm helloworld helloworl.o 转自http://blog.csdn.net/chief1985/article/details/4705123转载于:https://www.cnblogs.com/meizixiong/p/3276553.html