[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
VPATH as a pattern variable
From: |
Martin DAnjou |
Subject: |
VPATH as a pattern variable |
Date: |
Thu, 05 Apr 2007 13:12:42 -0400 |
Hello,
I do not understand why I get "no rule to make target" with this makefile:
.SECONDEXPANSION:
comp_pproc_src=d_f.v
d_%.v: VPATH=src_dir
d_%.v: %.v
touch $@
echo Made $@
comp_%: $$(comp_pproc_$$*)
echo Done
all: comp_src
The file called src_dir/f.v does exist. This is make 3.81.
Thanks,
Martin
- VPATH as a pattern variable,
Martin DAnjou <=