help-make
[Top][All Lists]
Advanced

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

Re: Multiple target patterns


From: Boris Godin
Subject: Re: Multiple target patterns
Date: Thu, 12 Jun 2008 11:58:48 -0300
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

I tried this but it's not working.
I think it's because make gives priority to wildcard before %
:-\

Stephan Beal wrote:
On Thu, Jun 12, 2008 at 4:04 PM, Boris Godin <address@hidden> wrote:
  
store/$(DIR)/%.c: src1/$(DIR)/%.c src2/$(DIR)/%.c
    
...
  
exist. In my case some file in src1 or src2 may not exist (*** no rule to
    

i'm not sure if this'll work, but it might:

store/$(DIR)/%.c: $(wildcard src1/$(DIR)/%.c src2/$(DIR)/%.c)

:-?


  


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

reply via email to

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