Is there any way to get key word args in Makefile ?
i have tried giving args and accessing using $1, $2 etc, but how can we give it with a keywords.
Is there any way to get key word args in Makefile ?
i have tried giving args and accessing using $1, $2 etc, but how can we give it with a keywords.
You can directly call just like env vars:
file syntax:
build:
cat $(file)
command to run:
make file=my_file.txt