From 1a6649aa5c99a468e206e0259653c29c459c1c47 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 9 Oct 2006 09:22:43 +0000 Subject: [PATCH] Create target for mplayer-rc.o so that it is not rerun unconditionally. based on patch by Zuxy Meng, zuxy.meng gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20129 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 98c8c6aad6..78a9c5a098 100644 --- a/Makefile +++ b/Makefile @@ -384,9 +384,6 @@ LIBS_MPLAYER = libvo/libvo.a \ $(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 @@ $(PRG_MENCODER): $(MENCODER_DEP) $(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 $@