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
原文地址:https://www.cnblogs.com/johnsonshu/p/7463989.html