On 2003-11-21 09:15:37 -0500, Noel Yap wrote:
> Not if you do something like:
> 
> default: install
> 
> install: targets
> 
> targets: target1 target2 target3
> 
> target2 target3: target1
> 
> target1: source1 ; touch target1 target2 target3

This doesn't create a missing target2.

> ls
Makefile  source1  target1  target3
> make
make: Nothing to be done for `default'.
> make --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
> cat Makefile 
default: install
install: targets
targets: target1 target2 target3
target2 target3: target1
target1: source1 ; touch target1 target2 target3

Best regards
        Martin
-- 
               Martin Schr�der, [EMAIL PROTECTED]
     ArtCom GmbH, Lise-Meitner-Str 5, 28359 Bremen, Germany
          Voice +49 421 20419-44 / Fax +49 421 20419-10
                    http://www.artcom-gmbh.de


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

Reply via email to