summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-25 09:49:18 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-25 09:49:18 +0000
commitbfce0b673dcae28884ede5f948741748ec2359d2 (patch)
tree37b7b089f4c80f956778b9d41e1b752944592f34 /osdep
parent983f114b7f263eafd0ad6e7e36c24cc223402bce (diff)
downloadmpv-bfce0b673dcae28884ede5f948741748ec2359d2.tar.bz2
mpv-bfce0b673dcae28884ede5f948741748ec2359d2.tar.xz
Move osdep/mplayer.rc handling to the osdep Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21205 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'osdep')
-rw-r--r--osdep/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/osdep/Makefile b/osdep/Makefile
index abd38716b1..20264df958 100644
--- a/osdep/Makefile
+++ b/osdep/Makefile
@@ -20,6 +20,9 @@ timer = timer-lx.c
ifeq ($(MACOSX_FINDER_SUPPORT),yes)
SRCS += macosx_finder_args.c
endif
+ifeq ($(TARGET_WIN32),yes)
+SRCS += osdep/mplayer-rc.c
+endif
ifeq ($(TARGET_OS),Darwin)
timer = timer-darwin.c
endif
@@ -46,6 +49,9 @@ CFLAGS = -I. -I.. $(OPTFLAGS)
.c.o:
$(CC) -c $(CFLAGS) -o $@ $<
+mplayer-rc.o: mplayer.rc
+ windres -o $@ $<
+
$(LIBNAME): $(OBJS)
$(AR) r $(LIBNAME) $(OBJS)
$(RANLIB) $(LIBNAME)