Allow running make in subdirs again.

This commit is contained in:
Reimar Döffinger 2011-06-24 09:10:25 +02:00
parent 2ec899222b
commit 95dd1741af
2 changed files with 7 additions and 0 deletions

View File

@ -42,6 +42,7 @@ DATA_FILES := $(wildcard $(SRC_PATH)/ffpresets/*.ffpreset)
SKIPHEADERS = cmdutils_common_opts.h
MAIN_MAKEFILE=1
include common.mak
FF_LDFLAGS := $(FFLDFLAGS)

View File

@ -7,6 +7,12 @@ all: all-yes
ifndef SUBDIR
ifndef MAIN_MAKEFILE
ifeq ($(SRC_PATH),.)
SRC_PATH = ..
endif
endif
ifndef V
Q = @
ECHO = printf "$(1)\t%s\n" $(2)