https://blog.csdn.net/qq_33001647/article/details/89713391
2019-04-30
提前生成max.o文件,然后编写max.h声明max函数,最后在main函数前面通过添加#include“max.h”,形成头文件和函数分离定义
2019-03-13
讲得还是不错的,内容简洁直观,逻辑清晰。能从繁杂的整个Linux知识库中提取出需要的精炼的东西,让学习者建立起了Linux系统与C程序的交互的能力,还是很厉害的。谢谢!
2019-02-23
内容表达细节上有欠缺,很多简写英文,因为把对应的含义说一下,这样方便理解和记忆,这个讲师可能英语不过关,要不然一般都会在提到新功能的简写时顺带着说这个简写是哪些英语的全称简写。
2019-02-10
按老师说的输入gcc max.c hello.c -o main.out后就报错了,不知道为什么?
2018-11-19
#This is Mikefile
OBJ:=hello.out
cc:=gcc
$(OBJ):max.o min.o hello.c
$(cc) max.o min.o hello.c -o hello.out
max.o:max.c
$(cc) -c max.c
min.o:min.c
$(cc) -c min.c
.PHONY:clean
clean:
-rm ./*.o $(OBJ)
OBJ:=hello.out
cc:=gcc
$(OBJ):max.o min.o hello.c
$(cc) max.o min.o hello.c -o hello.out
max.o:max.c
$(cc) -c max.c
min.o:min.c
$(cc) -c min.c
.PHONY:clean
clean:
-rm ./*.o $(OBJ)
2018-11-10