bug-gnu-utils
[Top][All Lists]
Advanced

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

More make woes


From: John Ulvr
Subject: More make woes
Date: Tue, 17 Apr 2001 17:05:46 -0400

Does anyone know of any bugs with vpath?  (if not, is this a bug)  I have
the following lines of code in my makefile, and they do not work:


vpath %.c C:/usr/Xxx/Xxy/Xxz/SOURCE/APPS

%.o: %.c
 $(CC) $(CFLAGS) $(CPPFLAGS) $< -via mqx.cmd


If I run this I get the error "make[1]: *** No rule to make target
`binfile.o', needed by `rtcs.lib'.  Stop.", where binfile.c exists in
C:/usr/Xxx/Xxy/Xxz/SOURCE/APPS.

Yet, if I change the vpath line to
vpath %.c C:/usr/Xxx/Xxy/Xxz\SOURCE/APPS    #note the one slash changed
directions

then it finds binfile.c, but $< expands to C:/usr/Xxx/Xxy/XxzSOURCE/APPS
(notice the lack of slash)

I have Gnu  Cygwin 3.79.1,  and am running with MAKE_MODE=unix


Any comments are greatly appreciated

John





reply via email to

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