Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
makefileのVPATH変数は、検索パスを示すために使用されます。しかし、その中の「V」は正確には何を表しているのでしょうか?
VPATH
make 変数 VPATH の値は、make が検索するディレクトリのリストを指定します。ほとんどの場合、ディレクトリには、現在のディレクトリにない前提条件ファイルが含まれていると予想されます。ただし、make はルールの前提条件とターゲットの両方の検索リストとして VPATH を使用します。