From 7cdea39c95a60322166e3ea84fb1ef85dac310f7 Mon Sep 17 00:00:00 2001 From: Themaister Date: Tue, 14 Jun 2011 23:59:00 +0200 Subject: [PATCH] Can build with FFmpeg if desired :) --- Makefile.win32 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile.win32 b/Makefile.win32 index 247139aeaf..95d50d1ce8 100644 --- a/Makefile.win32 +++ b/Makefile.win32 @@ -19,6 +19,7 @@ HAVE_NETPLAY = 1 HAVE_FBO = 1 HAVE_CG = 1 HAVE_PYTHON = 1 +HAVE_FFMPEG = 0 libsnes ?= -lsnes LIBS = -lm @@ -108,10 +109,16 @@ endif ifeq ($(HAVE_DINPUT), 1) LIBS += -ldinput8 -ldxguid -lole32 - DEFINES += -DHAVE_DINPUT + DEFINES += -DHAVE_DINPUT -Iffmpeg OBJ += input/dinput.o endif +ifeq ($(HAVE_FFMPEG), 1) + LIBS += -lavformat -lavcodec -lavutil -lswscale -lws2_32 -lzlib1 + DEFINES += -DHAVE_FFMPEG + OBJ += record/ffemu.o +endif + ifneq ($(V),1) Q := @ endif