This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Using vpath directive in makefiles
- To: Alejandro Olchik <aolchik at digitel dot com dot br>
- Subject: Re: Using vpath directive in makefiles
- From: Stephen Vance <vance at deneb dot com>
- Date: Thu, 24 Sep 1998 10:27:50 -0400
- CC: gnu-win32 at cygnus dot com
- Organization: Deneb Robotics, Inc.
- References: <19980923204055.29972.qmail@findmail.com>
Alejandro Olchik wrote:
> I´m having problem when using the vpath directive in a makefile. I have cywin B19 installed and I´m running make in unix mode.
>
> Look at the followin makefile
>
> vpath %.s //s/multinos/prj/nr1100/startup
>
> start.o: start.s
> copy $< $@
>
> When trying to execute it I receive the following message
> make: *** No rule to make target `start.s', needed by `start.o'. Stop.
>
> Am I doing something wrong? The make program does not have to search for the .s file at the vpath directories?
>
> -----
> Free e-mail group hosting at http://www.eGroups.com/
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
I've had problems like this, as well, even though the makefiles work with GNU make on Solaris. Instead, I ended up having to do
pattern rules like
%.o: //s/multinos/prj/nr1100/startup/%.s
for each of the desired vpath components.
--
Stephen Vance | http://www.deneb.com
Deneb Robotics, Inc. | mailto:vance@deneb.com
5500 New King Street | Phone: (248) 267-9696
Troy, MI 48098-2615 | Fax: (248) 267-8585
What is done well is done quickly enough. -Augustus Caesar
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".