help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple targets with one command


From: Noel Yap
Subject: Re: Multiple targets with one command
Date: Fri, 21 Nov 2003 09:15:37 -0500

Martin Schröder wrote:
> 
> On 2003-11-20 12:12:16 -0500, Noel Yap wrote:
> > file1: source.dtx source.ins
> >
> > file2 file3: file1
> 
> This can be simplified as
> 
> target2 target3 : target1
> target1: source1 ; touch target1 target2 target3
> 
> Unfortunately this looses the dependency for target2: If it's
> absent it's not remade automatically. :-(

Not if you do something like:

default: install

install: targets

targets: target1 target2 target3

target2 target3: target1

target1: source1 ; touch target1 target2 target3


Are there other concerns that haven't been addressed here?

HTH,
Noel
-- 
NOTICE: If received in error, please destroy and notify sender.  Sender does 
not waive confidentiality or privilege, and use is prohibited.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]