In short, variables defined with := are expanded once, but variables defined with = are expanded whenever they are used.

[링크 : http://stackoverflow.com/.../whats-the-difference-between-and-in-makefile]


Simply expanded variables are defined by lines using ‘:=’ or ‘::=’ (see Setting Variables). Both forms are equivalent in GNU make; however only the ‘::=’ form is described by the POSIX standard (support for ‘::=’ was added to the POSIX standard in 2012, so older versions of make won’t accept this form either).

[링크 : http://www.gnu.org/software/make/manual/html_node/Flavors.html#Flavors]


https://www.gnu.org/software/make/manual/html_node/Setting.html#Setting


'프로그램 사용 > make, configure' 카테고리의 다른 글

make /bin/sh: 1: pushd: not found 에러  (0) 2016.06.08
make 기본셸  (0) 2016.06.08
make 의존성 파일?  (0) 2015.12.18
make 암시적 룰  (0) 2015.12.18
make jobserver unavailable  (0) 2015.12.16
Posted by 구차니