Makefile 변수 for loop

1 개요[ | ]

Makefile 변수 for loop
names = alice bob carol

greet:
        @for name in $(names); do \
                echo hello $$name; \
        done
root@wsl:~# make greet
hello alice
hello bob
hello carol

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}