![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Makefile
JzjSunshine
这个作者很懒,什么都没留下…
展开
-
Makefile语法简介及编译多个文件实例
1.本例由 main.c one.c two.c three.c main.h 四个文件组成:编写Makefile执行程序/************FileName: main.c***************/#include <stdio.h>#include "main.h"int main(){ myone(); mytwo(); my...原创 2020-02-06 21:45:50 · 261 阅读 · 0 评论 -
Makefile语法简介
1.gcc参数详解参数作用实例-o指定目标名称gcc main.c text.o -o main-c只激活预处理,编译和汇编,只是会产生.o文件gcc -c hello.c-x指定语言,与后缀无关gcc -x c hello.cpg-S只激活预处理和编译,即把文件编译成为汇编语言gcc -S hello.c-E只激活预处理,这个不生...原创 2020-02-06 21:41:08 · 194 阅读 · 0 评论