[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
appending to variables from the command line
From: |
Bob Mroczka |
Subject: |
appending to variables from the command line |
Date: |
Sun, 2 Feb 2003 12:18:36 -0600 (GMT) |
Is there a way to append to variables defined in a Makefile from the command
line?
I have tried calling make (3.80) like this:
make 'DEFS+=-I/usr/local/include'
but this does not work, the command line variable definition
overrides the Makefile variable.
The reason I would like to do this from the command line is because I want to
have make pass the modified variable to all sub-makes
without having to modify any make files.
Thanks, Bob
- appending to variables from the command line,
Bob Mroczka <=