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


%% 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


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