mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Move SRC_PATH hack around to allow compilation from subdir again.
This commit is contained in:
parent
08b4a667ef
commit
e1a54304be
2
Makefile
2
Makefile
@ -1,3 +1,4 @@
|
||||
MAIN_MAKEFILE=1
|
||||
include config.mak
|
||||
|
||||
vpath %.c $(SRC_PATH)
|
||||
@ -39,7 +40,6 @@ DATA_FILES := $(wildcard $(SRC_PATH)/ffpresets/*.ffpreset)
|
||||
|
||||
SKIPHEADERS = cmdutils_common_opts.h
|
||||
|
||||
MAIN_MAKEFILE=1
|
||||
include $(SRC_PATH)/common.mak
|
||||
|
||||
FF_LDFLAGS := $(FFLDFLAGS)
|
||||
|
@ -7,12 +7,6 @@ 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
Block a user