%% "Anthony Di Paola" <[EMAIL PROTECTED]> writes:

  adp> Is there any cleaner way to do the following.  I was hoping I
  adp> could do the samething without explicitly calling make from the
  adp> command line.

You cannot invoke one target from another without a submake.

  adp> target_1:
  adp>     <do something>
  adp>     $(MAKE) target_2:
  adp>     <do something else>
 
  adp> target_2:
  adp>     <do whatever>

You could try this:

  target_1: target_2
          <do something else>

  target_2: do_something
          <do whatever>

  do_something:
          <do something>

  .PHONY: do_something

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

_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to