Hi,
The 'normal' way to pass run-time arguments to a make(1) script is via make(1) macros declared on the CLI e.g. if using Test::More, a verbose listing can be generated using either of the 2 following equivalent methods...
Assuming Windoze...
set TEST_VERBOSE=t
dmake test
Assuming sh (or variant thereof:-)...
export TEST_VERBOSE=t
dmake test
dmake test TEST_VERBOSE=t
Note that environment variables are referenced in the same way as macros within the make(1) script, hence CLI macros override any environment variable(s) of the same name.
HTH
At last, a user level that overstates my experience :-))
|