[Mplayer-cvslog] CVS: main Makefile,1.285,1.286

Sascha Sommer CVS syncmail at mplayerhq.hu
Tue Apr 13 13:22:39 CEST 2004


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv21432

Modified Files:
	Makefile 
Log Message:
always add versionsinfo and icon on windows

Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/Makefile,v
retrieving revision 1.285
retrieving revision 1.286
diff -u -r1.285 -r1.286
--- Makefile	11 Apr 2004 14:26:04 -0000	1.285
+++ Makefile	13 Apr 2004 11:22:37 -0000	1.286
@@ -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




More information about the MPlayer-cvslog mailing list