summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-13 11:22:37 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-13 11:22:37 +0000
commit3f7d2d2176ac5e9f16d3116ca64352f0708ae824 (patch)
treec00aa789183039966b110a0e8e19c9e30bd1302e /Makefile
parent83cec57c4351bb69a1916c14ad645f942de86304 (diff)
downloadmpv-3f7d2d2176ac5e9f16d3116ca64352f0708ae824.tar.bz2
mpv-3f7d2d2176ac5e9f16d3116ca64352f0708ae824.tar.xz
always add versionsinfo and icon on windows
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12191 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4556a6825a..5a41fd114a 100644
--- a/Makefile
+++ b/Makefile
@@ -203,8 +203,15 @@ else
VIDIX_LIBS =
endif
+ifeq ($(TARGET_WIN32),yes)
+OBJS_MPLAYER += mplayer-rc.o
+endif
+
$(PRG): $(MPLAYER_DEP)
./darwinfixlib.sh $(MPLAYER_DEP)
+ ifeq ($(TARGET_WIN32),yes)
+ windres -o mplayer-rc.o mplayer.rc
+ endif
$(CC) $(CFLAGS) -o $(PRG) $(OBJS_MPLAYER) libvo/libvo.a libao2/libao2.a $(MENU_LIBS) $(VIDIX_LIBS) $(GUI_LIBS) $(COMMON_LIBS) $(GTK_LIBS) $(VO_LIBS) $(AO_LIBS) $(EXTRA_LIB) $(LIRC_LIB) $(LIRCC_LIB) $(STATIC_LIB) $(ARCH_LIB) $(I18NLIBS) -lm
mplayer.exe.spec.c: libmpcodecs/libmpcodecs.a