summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-03-05 21:27:58 +0000
committerMåns Rullgård <mans@mansr.com>2008-03-05 21:27:58 +0000
commitde2f77d865e7400c9bf5839ca0952f2aa532677c (patch)
tree986222f1c00b561334e708596d51f53c59a72946 /Makefile
parente3773a55bed603f648087abdb300f003d7e7fb46 (diff)
allow vpath search only for source files
Originally committed as revision 12343 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8191165ac8..1a300c9d7e 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,9 @@
#
include config.mak
-VPATH=$(SRC_PATH_BARE)
+vpath %.c $(SRC_PATH_BARE)
+vpath %.h $(SRC_PATH_BARE)
+vpath %.texi $(SRC_PATH_BARE)
CFLAGS=$(OPTFLAGS) -I$(BUILD_ROOT) -I$(SRC_PATH) -I$(SRC_PATH)/libavutil \
-I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libswscale \