2020年11月30日

makefile $@, $^, $<, $?

摘要: 转载 $@ 表示目标文件$^ 表示所有的依赖文件$< 表示第一个依赖文件$? 表示比目标还要新的依赖文件列表 如一个目录下有如下文件: $ ls hello.c hi.c main.c Makefile main: main.o hello.o hi.o gcc -o main main.o hel 阅读全文

posted @ 2020-11-30 14:20 让代码改变世界ha 阅读(196) 评论(0) 推荐(0)

导航