summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-06-05 22:00:54 +0100
committerMans Rullgard <mans@mansr.com>2011-06-14 19:53:53 +0100
commitd530e5794475887d5d2b1f05dfd60ba4542b0f82 (patch)
treeedac79198a42b9801970cd62faf56bc64e6a8b43
parent0af8a71d66305874bd6f0ebc84ebf99339b6a5d3 (diff)
build: move vpath directives to main Makefile
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rw-r--r--Makefile5
-rw-r--r--common.mak5
2 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ca07d9fe6d..084e175b90 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,11 @@ include config.mak
SRC_DIR = $(SRC_PATH_BARE)
+vpath %.c $(SRC_DIR)
+vpath %.h $(SRC_DIR)
+vpath %.S $(SRC_DIR)
+vpath %.asm $(SRC_DIR)
+vpath %.v $(SRC_DIR)
vpath %.texi $(SRC_PATH_BARE)
PROGS-$(CONFIG_FFMPEG) += ffmpeg
diff --git a/common.mak b/common.mak
index 324868762a..e9e69f263b 100644
--- a/common.mak
+++ b/common.mak
@@ -6,11 +6,6 @@
all: all-yes
ifndef SUBDIR
-vpath %.c $(SRC_DIR)
-vpath %.h $(SRC_DIR)
-vpath %.S $(SRC_DIR)
-vpath %.asm $(SRC_DIR)
-vpath %.v $(SRC_DIR)
ifndef V
Q = @