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 <[EMAIL PROTECTED]> 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.

_______________________________________________
Help-make mailing list
Help-make@gnu.org
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to