help-make
[Top][All Lists]
Advanced

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

vpath Question


From: Bhaskar G
Subject: vpath Question
Date: Thu, 16 Jun 2005 11:18:45 +0530


Hi All,

I had a question on vpath directive.

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

E-mail:        address@hidden
Phone:       +91 80 2557 9000, Ext 3016
Fax:            +91 80 2556 0581
GSM:         +91 944 876 1340

Office:        Philips Innovation Campus, 3rd floor
Address:   No 1, Murphy Road, Ulsoor, Bangalore - 560 008
Country:    INDIA
=================================================

reply via email to

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