mirror of https://git.ffmpeg.org/ffmpeg.git
Allow running make in subdirs again.
This commit is contained in:
parent
2ec899222b
commit
95dd1741af
1
Makefile
1
Makefile
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue