A sample makefile
VAR=abc
all:
      echo $(VAR)

In unix/bash, to override the variable defined in the makefile,
make VAR=123
works.

However
export VAR=123; make
or
VAR=123 make
does not seem to work.

Is there a way to override using export variable method?

Thanks.
James

_______________________________________________
help-gnu-utils mailing list
help-gnu-utils@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to