aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-09 09:22:43 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-09 09:22:43 +0000
commit1a6649aa5c99a468e206e0259653c29c459c1c47 (patch)
tree9311d4cee8cab9c0fad4ee732bcaf1c9a41ee8da /Makefile
parent203c6b8bb38fe998e6139e5da87273c339797d52 (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files 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 $@