[MPlayer-cvslog] r20129 - trunk/Makefile

diego subversion at mplayerhq.hu
Mon Oct 9 11:22:43 CEST 2006


Author: diego
Date: Mon Oct  9 11:22:43 2006
New Revision: 20129

Modified:
   trunk/Makefile

Log:
Create target for mplayer-rc.o so that it is not rerun unconditionally.
based on patch by Zuxy Meng, zuxy.meng gmail com


Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Mon Oct  9 11:22:43 2006
@@ -384,9 +384,6 @@
                $(STATIC_LIB) \
 
 $(PRG):	$(MPLAYER_DEP)
-    ifeq ($(TARGET_WIN32),yes)
-	windres -o osdep/mplayer-rc.o osdep/mplayer.rc
-    endif
 	$(CC) $(CFLAGS) -o $(PRG) $(OBJS_MPLAYER) $(LIBS_MPLAYER)
 
 ifeq ($(MENCODER),yes)
@@ -398,6 +395,9 @@
 	$(CC) $(CFLAGS) -o $(PRG_MENCODER) $(OBJS_MENCODER) $(LIBS_MENCODER)
 endif
 
+osdep/mplayer-rc.o: osdep/mplayer.rc
+	windres -o $@ osdep/mplayer.rc
+
 codec-cfg: codec-cfg.c codec-cfg.h help_mp.h
 	$(HOST_CC) -I. -DCODECS2HTML codec-cfg.c -o $@
 



More information about the MPlayer-cvslog mailing list