개요
- Makefile 변수 사용
name = world
greet:
echo hello $(name)
greet2:
@echo hello $(name)
root@wsl:~# make greet
echo hello world
hello world
root@wsl:~# make greet2
hello world
name = world
greet:
echo hello $(name)
greet2:
@echo hello $(name)
root@wsl:~# make greet
echo hello world
hello world
root@wsl:~# make greet2
hello world