This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: make recursion not exporting


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: john@rrci.com                                 |
|======================================================|


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]