This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Sequential build of libjava
- From: "Paul D. Smith" <psmith at gnu dot org>
- To: Michael Matz <matz at suse dot de>
- Cc: Brad Lucier <lucier at math dot purdue dot edu>, Phil Edwards <phil at jaj dot com>, Tom Tromey <tromey at redhat dot com>, <gcc at gcc dot gnu dot org>, <java at gcc dot gnu dot org>
- Date: Thu, 5 Sep 2002 17:44:02 -0400
- Subject: Re: Sequential build of libjava
- Organization: GNU's Not Unix!
- References: <200209052103.g85L35u24122@banach.math.purdue.edu><Pine.LNX.4.33.0209052331310.17609-100000@wotan.suse.de>
- Reply-to: "Paul D. Smith" <psmith at gnu dot org>
%% Michael Matz <matz@suse.de> writes:
mm> You should find the lines
mm> MULTIDO = $(MAKE)
mm> @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
mm> @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
mm> @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
mm> Where instead of the '$(MAKE)' there may be a different string.
mm> Now replace the actual uses of $(MULTIDO) with that content.
mm> E.g. my Makefile then contained
mm> @$(MAKE) $(FLAGS_TO_PASS) multi-do DO=all
mm> @$(MAKE) $(FLAGS_TO_PASS) multi-do DO=install
mm> @$(MAKE) $(FLAGS_TO_PASS) multi-do DO=install
A simpler, but completely equivalent (as long as you use GNU make)
change would be to just:
MULTIDO = +$(MAKE)
See the GNU make manual for a description of the "+" prefix char.
--
-------------------------------------------------------------------------------
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