make -c


make의 -C 옵션은 무엇인가?



[root@localhost 4.2.5]# make --help

사용법: make [옵션] [타겟] ...

옵션:

 -b, -m                      Ignored for compatibility.

 -B, --always-make           Unconditionally make all targets.

 -C DIRECTORY, --directory=DIRECTORY

                             Change to DIRECTORY before doing anything.

 -d                          Print lots of debugging information.






Change to DIRECTORY before doing~~

doing 하기전에…디렉토리를 바꿔라~~~!!!

디렉토리 바꾸는 명령이였군요…………….

현재 디렉토리겠죠~~~~


무한 루프~~~~


그런데….경로를 바꾸고 그럴까요?


경로를 바꾸지 않으면...컴파일이 안되는 걸까요?

아니면….그곳...바꾼 Directory에 있는 소스를 가지고 메이크하라는 것일까요?



+ Recent posts