Subject: Re: make recursion not exporting
From: [email-masked] ("John D. Robertson")

17 Apr 1997 10:39:36 -0700
Approved: [email-masked]
Distribution: cygnus
Message-ID: <Pine.LNX.3.91.970417094559.263C-100000.cygnus.gnu-win32@localhost>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: john@localhost
Original-To: Tripp Lilley <[email-masked]>
Original-Cc: [email-masked]
In-Reply-To: <[email-masked]>
Original-Sender: [email-masked]

I had the exact same problem, and this is how I fixed it...
Change to this:

tester/Makefile:
#export
#THINGIE="test thingie"

all:
#        echo $(THINGIE)
        $(MAKE) THINGIE="test thingie" -C sub

tester/sub/Makefile:
export
all:
        echo $(THINGIE)
        $(MAKE) THINGIE="test thingie" -C sub

tester/sub/sub/Makefile:
export
all:
        echo $(THINGIE)
        $(MAKE) THINGIE="test thingie" -C sub

tester/sub/sub/sub/Makefile:
export
all:
        echo $(THINGIE)

|======================================================|
| John D. Robertson, ADAMS Modeler / Software Engineer |
| Robertson & Robertson Consultants, Inc.              |
| 3637 West Georgia Rd.                                |
| Pelzer, SC  29669                                    |
|                                                      |
| Phone: (864) 243-2436                                |
|   Fax: (864) 243-3023                                |
| Email: [email-masked]                                 |
|======================================================|

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".