diff osdep/Makefile @ 21189:40bb3d20a10b

Move osdep/mplayer.rc handling to the osdep Makefile.
author diego
date Sat, 25 Nov 2006 09:49:18 +0000
parents d9cedf7b8069
children 1feb8af493d6
line wrap: on
line diff
--- a/osdep/Makefile	Sat Nov 25 01:28:49 2006 +0000
+++ b/osdep/Makefile	Sat Nov 25 09:49:18 2006 +0000
@@ -20,6 +20,9 @@
 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 @@
 .c.o:
 	$(CC) -c $(CFLAGS) -o $@ $<
 
+mplayer-rc.o: mplayer.rc
+	windres -o $@ $<
+
 $(LIBNAME):     $(OBJS)
 	$(AR) r $(LIBNAME) $(OBJS)
 	$(RANLIB) $(LIBNAME)