Makefile 에 변수 할당 방법


1) variable = define

2) variable := define


1) 의 방법은 변수를 읽는 시점에 값이 정해지며, 2)의 방법은 변수를 assign 하는 시점에 값이 정해진다


할당된 변수 사용법은

$(variable)


출처: https://www.gnu.org/software/make/manual/html_node/Flavors.html#Flavors

+ Recent posts