From bfce0b673dcae28884ede5f948741748ec2359d2 Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 25 Nov 2006 09:49:18 +0000 Subject: Move osdep/mplayer.rc handling to the osdep Makefile. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21205 b3059339-0415-0410-9bf9-f77b7e298cf2 --- osdep/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'osdep') 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) -- cgit v1.2.3