My first Makefile
来源:互联网 发布:新疆云计算 编辑:程序博客网 时间:2024/05/20 23:34
First, the source file is:
There are three files:p631.c, csapp.h, csapp.c, the file csapp.h is both included by p631.c and csapp.c
The dependence relationship is as follows:
the executable file depends on two object file;
the object file depends on the source file and the files it includes;
the -o p631.o in the rules can be omited because of the -c option,and become "gcc -c p631.c"
Note: when generate the executable file p631 ,the option -pthread is necessary,or there will be some mistakes likes"undefined reference to `pthread_create'"
yohoro. 09.2.14
valentine's day!
- My first Makefile
- My first makefile
- my first makefile
- My first makefile to compile multiple C files
- My first
- MY FIRST
- my first
- my First
- My First !
- MY FIRST
- My First
- MY First
- My First
- my first
- my first
- My First
- my first。。
- my first
- 进入一所普通本科学院——近一年的感想
- lpc210X的IO操作
- 程序员的10种级别
- 动态为事件添加js代码示例
- 春节假期 新的征程
- My first Makefile
- 让人心疼的12句话
- 项目从vs2003升级到Vs2008的问题
- 正确认识使用UML中的类图
- biauh siu asidf
- JavaEE--------> Hibernate入门 -->使用Hibernate实现数据的删改
- Java笔试题一份
- 人渐渐成熟的15种迹象,呵呵你有多少?
- 415 Unsupported Media Type when WSE is NOT configured