# HG changeset patch # User diego # Date 1160385763 0 # Node ID aaec1eff2e863299d562b4a8b64961e1450665e7 # Parent 40a2a372896370e0ead0fb2301cfa95809df9f00 Create target for mplayer-rc.o so that it is not rerun unconditionally. based on patch by Zuxy Meng, zuxy.meng gmail com diff -r 40a2a3728963 -r aaec1eff2e86 Makefile --- a/Makefile Mon Oct 09 08:32:07 2006 +0000 +++ b/Makefile Mon Oct 09 09:22:43 2006 +0000 @@ -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 $@