This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Sequential build of libjava


%% Mike Stump <mrs@apple.com> writes:

  ms> I have a question, if we do:

  ms> 	echo $(MAKE) >/dev/null; $(MULTIDO) what-ev-a

Good idea; yes, this will work.  GNU make merely looks for the text
$(MAKE) or ${MAKE}; it doesn't try to examine the shell script to
understand what's being done.

Here's another idea which might be even less overhead:

  : $(MAKE); $(MULTIDO) what-ev-a

Or vice versa; put the ": $(MAKE)" at the end after $(MULTIDO).

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@gnu.org>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


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