[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make question (environment variable)
From: |
James |
Subject: |
make question (environment variable) |
Date: |
14 Feb 2007 10:03:24 -0800 |
User-agent: |
G2/1.0 |
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
- make question (environment variable),
James <=