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

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

Re: VPATH usage


From: Andreas Schwab
Subject: Re: VPATH usage
Date: 15 Feb 2001 12:09:54 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.98

address@hidden writes:

|> Hello,
|> 
|> Here is a sample makefile that uses the VPATH variable to generate
|> dependencies. It does not generate the right dependencies i.e. the VPATH
|> does not work properly:
|> 
|> 
|> CFLAGS = -g -I. -I$(RELEASE)/source
|> RELEASE = C:/temp
|> 
|> VPATH = $(filter-out -I.,$(filter -I%,$(CFLAGS)))

This sets VPATH to something like `-Ifoobar'.  You need to remove the `-I'
prefix here.

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
address@hidden
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg



reply via email to

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