makefile 中的符号替换($@、$^、$<、$?)
摘要:Makefile $@, $^, $< $@ 表示目标文件$^ 表示所有的依赖文件$< 表示第一个依赖文件$? 表示比目标还要新的依赖文件列表 如一个目录下有如下文件: $ lshello.c hi.c main.c Makefile 按照 Makefile 的一般写法: main: main.o
阅读全文
posted @ 2016-05-09 16:36
posted @ 2016-05-09 16:36
posted @ 2016-05-06 15:07
posted @ 2015-09-13 20:32
posted @ 2015-05-08 10:26