$ man make
-C dir, --directory=dir
Change to directory dir before reading the makefiles or doing
anything else. If multiple -C options are specified, each is in‐
terpreted relative to the previous one: -C / -C etc is equivalent
to -C /etc. This is typically used with recursive invocations of
make.
make -C [경로] 는 cd [경로] &&
make -C [경로] 는 cd [경로] && make 와 같습니다.
$ man make
-C dir, --directory=dir
Change to directory dir before reading the makefiles or doing
anything else. If multiple -C options are specified, each is in‐
terpreted relative to the previous one: -C / -C etc is equivalent
to -C /etc. This is typically used with recursive invocations of
make.
댓글 달기