In one of my makefile I have the following
entry
vpath %.lib $(_SDE_DIR_LIB)
_SDE_DIR_LIB expands to d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486
I am using gmake provided by cygwin
and gmake built on my machine using the source.
I get the following error when using
gmake provided by cygwin:
Considering target file `libtmComp2_flo_g.lib'.
File `libtmComp2_flo_g.lib' does not exist.
Looking for an implicit rule for `libtmComp2_flo_g.lib'.
No implicit rule found for `libtmComp2_flo_g.lib'.
Finished prerequisites of target file `libtmComp2_flo_g.lib'.
Must remake target `libtmComp2_flo_g.lib'.
gmake: *** No rule to make target `libtmComp2_flo_g.lib',
needed by `d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486/_flo_sp_g/tmComp10.dll'.
Stop.
Where as this problem doesnot seem to
appear when using the gmake built locally.
Considering target file `libtmComp2_flo_g.lib'.
Looking for an implicit rule for `libtmComp2_flo_g.lib'.
No implicit rule found for `libtmComp2_flo_g.lib'.
Finished prerequisites of target file `libtmComp2_flo_g.lib'.
No need to remake target `libtmComp2_flo_g.lib'; using VPATH name `d:/results/x86_nt/comps/generated/lib/x86_nt_el_i486/libtmComp2_flo_g.lib'.
My question is Can the vpath directive
be removed optionally when building gmake?
Thanks & Regards,
Bhaskar G
=================================================
Philips Semiconductors / CTO / Design Technology Group