[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make undefined $(MY_VARIABLE) usage query
From: |
Paul Smith |
Subject: |
Re: make undefined $(MY_VARIABLE) usage query |
Date: |
Fri, 04 Dec 2009 07:48:50 -0500 |
On Fri, 2009-12-04 at 11:00 +0000, Jon Grant wrote:
> I looked through the manual (3.81) and could not find a way to get GNU
> Make to display an error, or warning when a variable is used without
> being defined. like $(MY_VARIABLE)
Not sure where you were looking, but the best place to start is the
"Summary of Options" section in the manual.
Look there for the --warn-undefined-variables option.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.mad-scientist.net
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist