summaryrefslogtreecommitdiffstats
path: root/osdep/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/Makefile')
-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)