개요
- variable target in a makefile
- Makefile 가변 타겟
- Makefile 변수 타겟
names = alice bob carol
all: $(names)
$(names):
echo hello $@
root@wsl:~# make alice
echo hello alice
hello alice
root@wsl:~# make all
echo hello alice
hello alice
echo hello bob
hello bob
echo hello carol
hello carol