GNU make manual 번역(92)
2644 단어 Make
If several `vpath' patterns match the prerequisite file's name, then `make' processes each matching `vpath' directive one by one, searching all the directories mentioned in each directive. `make' handles multiple `vpath' directives in the order in which they appear in the makefile; multiple directives with the same pattern are independent of each other.
Thus,
vpath %.c foo
vpath % blish
vpath %.c bar
will look for a file ending in `.c' in `foo', then `blish', then `bar',
while
vpath %.c foo:bar
vpath % blish
will look for a file ending in `.c' in `foo', then `bar', then `blish'.
만약 몇 개의 vpath 모드가 전제조건 파일 이름과 일치한다면,make는 모든 vpath 명령을 하나하나 처리하고, 모든 명령에 언급된 디렉터리를 검색합니다.make는 여러 개의 vpath 명령어가makefile에 나타나는 순서에 따라 vpath 명령을 처리합니다.같은 패턴을 가진 지령도 서로 독립적이다.
vpath %.c foo vpath % blish vpath %.c bar에서foo 디렉터리를 찾을 것입니다.c 마지막 파일, 그리고blish 디렉터리, 그리고bar 디렉터리.
반면 vpath%.c foo:bar vpath % blish
foo,barblish 디렉터리에서 찾을 것입니다.c 마지막 파일입니다.
후문이 계속되다
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
GNU make manual 번역(3)계속 번역 1.1 이 안내서를 읽는 방법 만약 당신이 초보자이거나 일반적인 소개를 찾고 있다면, 먼저 매 장의 앞의 몇 마디를 읽고 뒤의 몇 마디를 뛰어넘을 수 있다.각 장에서 앞 면적의 각 소절은 소개적 또는 일반...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.