From 57b4a3dd2b358b2122736af861c1538acd1eed1a Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Tue, 28 Jun 2011 17:08:00 +0100 Subject: build: include sub-makefiles using full path instead of symlinks Signed-off-by: Mans Rullgard --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f16da3acca..24a5951ec1 100644 --- a/Makefile +++ b/Makefile @@ -79,7 +79,7 @@ DATA_FILES := $(wildcard $(SRC_PATH)/ffpresets/*.ffpreset) SKIPHEADERS = cmdutils_common_opts.h -include common.mak +include $(SRC_PATH)/common.mak FF_LDFLAGS := $(FFLDFLAGS) FF_EXTRALIBS := $(FFEXTRALIBS) @@ -105,7 +105,7 @@ endef define DOSUBDIR $(foreach V,$(SUBDIR_VARS),$(eval $(call RESET,$(V)))) SUBDIR := $(1)/ -include $(1)/Makefile +include $(SRC_PATH)/$(1)/Makefile endef $(foreach D,$(FFLIBS),$(eval $(call DOSUBDIR,lib$(D)))) @@ -182,8 +182,8 @@ config: check: test checkheaders -include doc/Makefile -include tests/Makefile +include $(SRC_PATH)/doc/Makefile +include $(SRC_PATH)/tests/Makefile # Dummy rule to stop make trying to rebuild removed or renamed headers %.h: -- cgit v1.2.3