Are you executing gmake with a target (eg "gmake all") or relying on the
"first rule hit" behaviour (eg "gmake")? If the former, what does "gmake
-npqr all 2>&1 | grep MAKECMDGOALS" give? If the latter, I think
MAKECMDGOALS is supposed to be empty.
HTH,
Noel
Andy Xiao wrote:
>
> Is MAKECMDGOALS working? How come it always turns out to be empty.
>
>
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> _______________________________________________
> Help-make mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-make
--
NOTICE: If received in error, please destroy and notify sender. Sender
does not waive confidentiality or privilege, and use is prohibited.