help-make
[Top][All Lists]
Advanced

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

Re: Variable order of operations


From: Harvey Chapman
Subject: Re: Variable order of operations
Date: Mon, 02 Mar 2009 12:56:54 -0500
User-agent: Postbox 1.0b7 (Macintosh/2009020805)

Please ignore the previous message. I accidentally hit send and was unable to click Cancel in time.

Philip Guenther wrote:

> BTW, when invoking make recursively, you almost certainly should use
> $(MAKE) instead of just 'make'.  This has two effects:

Thanks for the tip. I'll make that change.

> What behavior makes you say that the ifeq is being evaluated after the
> 'cgi' target?

Sorry, I should've attached output.

> So it seems to be working for me.  What do you get when you try that?
> Also, what's the output of "make --version"?

GNU Make 3.81

With debugging: Notice the "HIDE=" that prints after the "cgi" target.

address@hidden:~/nm_test_backup/webgui$ DEBUG=1 make
Building...  cgi
DEBUG="1" GUMSTIX="" BUILD_ARM="" CC="cc" CXX="g++" AR="ar" make -C cgi
make[1]: Entering directory `/home/hchapman/nm_test_backup/webgui/cgi'
...
...
make[1]: Leaving directory `/home/hchapman/nm_test_backup/webgui/cgi'
HIDE=


Without debugging: Notice the "HIDE=@" that prints after the "cgi" target.

address@hidden:~/nm_test_backup/webgui$ DEBUG=0 make
Building...  cgi
DEBUG="0" GUMSTIX="" BUILD_ARM="" CC="cc" CXX="g++" AR="ar" make -C cgi
make[1]: Entering directory `/home/hchapman/nm_test_backup/webgui/cgi'
...
...
make[1]: Leaving directory `/home/hchapman/nm_test_backup/webgui/cgi'
HIDE=@






reply via email to

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