mirror of
https://github.com/libretro/RetroArch.git
synced 2025-05-13 08:46:10 +00:00
Can build with FFmpeg if desired :)
This commit is contained in:
parent
95f6a5116a
commit
7cdea39c95
@ -19,6 +19,7 @@ HAVE_NETPLAY = 1
|
|||||||
HAVE_FBO = 1
|
HAVE_FBO = 1
|
||||||
HAVE_CG = 1
|
HAVE_CG = 1
|
||||||
HAVE_PYTHON = 1
|
HAVE_PYTHON = 1
|
||||||
|
HAVE_FFMPEG = 0
|
||||||
libsnes ?= -lsnes
|
libsnes ?= -lsnes
|
||||||
|
|
||||||
LIBS = -lm
|
LIBS = -lm
|
||||||
@ -108,10 +109,16 @@ endif
|
|||||||
|
|
||||||
ifeq ($(HAVE_DINPUT), 1)
|
ifeq ($(HAVE_DINPUT), 1)
|
||||||
LIBS += -ldinput8 -ldxguid -lole32
|
LIBS += -ldinput8 -ldxguid -lole32
|
||||||
DEFINES += -DHAVE_DINPUT
|
DEFINES += -DHAVE_DINPUT -Iffmpeg
|
||||||
OBJ += input/dinput.o
|
OBJ += input/dinput.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(HAVE_FFMPEG), 1)
|
||||||
|
LIBS += -lavformat -lavcodec -lavutil -lswscale -lws2_32 -lzlib1
|
||||||
|
DEFINES += -DHAVE_FFMPEG
|
||||||
|
OBJ += record/ffemu.o
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(V),1)
|
ifneq ($(V),1)
|
||||||
Q := @
|
Q := @
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user