[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
VPATH usage
From: |
SDambal |
Subject: |
VPATH usage |
Date: |
Wed, 14 Feb 2001 16:02:08 -0600 |
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)))
If I do not use $(RELEASE) in the CFLAGS then VPATH works fine. But it does
not work with the $(RELEASE) in there.
What am I missing here ?
Thanks,
Sanjeev.