[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple targets with one command
From: |
Martin Schröder |
Subject: |
Re: Multiple targets with one command |
Date: |
Fri, 21 Nov 2003 15:59:39 +0100 |
User-agent: |
Mutt/1.4.1i |
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, address@hidden
ArtCom GmbH, Lise-Meitner-Str 5, 28359 Bremen, Germany
Voice +49 421 20419-44 / Fax +49 421 20419-10
http://www.artcom-gmbh.de