[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
override and +=
From: |
Michael Morrell |
Subject: |
override and += |
Date: |
Tue, 19 Feb 2008 16:58:39 -0800 (PST) |
I'm using gmake 3.81. I read the manual about override and +=, but I
guess
I didn't understand it. With the following Makefile:
=============================
override F := "a b c"
F += d
all:
@echo $F
==============================
I expected the "override" to have no effect unless I defined F on the
command line. Here's what I see:
% make
a b c
% make F="hello"
a b c
In neither case, is the += doing anything. Can someone explain this?
Thanks,
Michael
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
- override and +=,
Michael Morrell <=