On Fri, Apr 24, 2009 at 1:40 AM, Jay Foad <jay.f...@gmail.com> wrote: > unexport doesn't seem to work for me: ... > $ make --no-print-directory -f A FOO=hello
Since it's a command-line assignment, FOO is passed to the recursive make invocation via the MAKEFLAGS variable and not just via the environment. It would work as you expect if you invoked make like this: FOO=hello make --no-print-directory -f A where FOO is passed to the initial make just via the environment. Check out section "5.7.3 Communicating Options to a Sub-`make'" of the make info pages for details. Philip Guenther _______________________________________________ Help-make mailing list Help-make@gnu.org http://lists.gnu.org/mailman/listinfo/help-make