mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-29 18:53:02 +00:00
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
|
SKIPHEADERS = cmdutils_common_opts.h
|
||||||
|
|
||||||
|
MAIN_MAKEFILE=1
|
||||||
include common.mak
|
include common.mak
|
||||||
|
|
||||||
FF_LDFLAGS := $(FFLDFLAGS)
|
FF_LDFLAGS := $(FFLDFLAGS)
|
||||||
|
@ -7,6 +7,12 @@ all: all-yes
|
|||||||
|
|
||||||
ifndef SUBDIR
|
ifndef SUBDIR
|
||||||
|
|
||||||
|
ifndef MAIN_MAKEFILE
|
||||||
|
ifeq ($(SRC_PATH),.)
|
||||||
|
SRC_PATH = ..
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef V
|
ifndef V
|
||||||
Q = @
|
Q = @
|
||||||
ECHO = printf "$(1)\t%s\n" $(2)
|
ECHO = printf "$(1)\t%s\n" $(2)
|
||||||
|
Loading…
Reference in New Issue
Block a user