changeset 12190:4e621a212d26

always add versionsinfo and icon on windows
author faust3
date Tue, 13 Apr 2004 11:22:37 +0000
parents bd67f85c6440
children 60a5e538baf9
files Makefile
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Apr 13 10:02:37 2004 +0000
+++ b/Makefile	Tue Apr 13 11:22:37 2004 +0000
@@ -203,8 +203,15 @@
 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