help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: = or := for asignment?


From: Paul Smith
Subject: Re: = or := for asignment?
Date: Wed, 07 Mar 2012 08:14:12 -0500

On Wed, 2012-03-07 at 03:23 -0800, AngusC wrote:
> I am reading the gnu makefile manual and section 2.4 has the example
> objects = main.o kbd.o command.o display.o \
>                insert.o search.o files.o utils.o
> 
> But at my workplace variables are defined like this:
> GENUK_PATH     := ../genuk
> 
> Is = interchangeable with := ?  Or are they slightly different?

Since you're checking the manual anyway, read the section "The Two
Flavors of Variables" and all will be revealed.

Or if not, come back and ask about the parts that aren't clear :-).

Cheers!

-- 
-------------------------------------------------------------------------------
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]