I can't find any method to pass variables to the Makefile other than by the environment, but
$ cat echo.pl #!/usr/bin/perl print("$ARGV[0]\n"); $ cat Makefile testing: echo.pl $(TEXT) > $@ $ TEXT=moo make testing echo.pl moo > testing $ cat testing moo
I feel this meets your needs. If not, let us know how it doesn't.
In reply to Re: Parameters to make-invoked script
by ikegami
in thread Parameters to make-invoked script
by Sixtease
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |