makefile 里的vpath

https://www.cmcrossroads.com/article/basics-vpath-and-vpath

 

Only missing prerequisites matching the pattern are searched using the associated path. 

So vpath makes it possible, for example, to specify just a path to search for header (.h) files:

vpath %.h /usr/include

 

posted @ 2017-09-01 16:48  johnsonshu  阅读(274)  评论(0编辑  收藏  举报