help-make
[Top][All Lists]
Advanced

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

Re: program creating two targets


From: Martin d Anjou
Subject: Re: program creating two targets
Date: Tue, 2 Sep 2008 17:01:25 -0400 (EDT)
User-agent: Alpine 1.10 (LNX 962 2008-03-14)

assume that program `bar' creates both `file1' and `file2'.  I need a
rule like this:

 foo: file1 file2
         bar

I do not understand your question. If bar creates file1 and file2, then the targets are file1 and file2, which I would write like so:

file1 file2:
        bar

Martin




reply via email to

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