diff --git a/Makefile b/Makefile index 4556a6825a..5a41fd114a 100644 --- a/Makefile +++ b/Makefile @@ -203,8 +203,15 @@ else VIDIX_LIBS = endif +ifeq ($(TARGET_WIN32),yes) +OBJS_MPLAYER += mplayer-rc.o +endif + $(PRG): $(MPLAYER_DEP) ./darwinfixlib.sh $(MPLAYER_DEP) + ifeq ($(TARGET_WIN32),yes) + windres -o mplayer-rc.o mplayer.rc + endif $(CC) $(CFLAGS) -o $(PRG) $(OBJS_MPLAYER) libvo/libvo.a libao2/libao2.a $(MENU_LIBS) $(VIDIX_LIBS) $(GUI_LIBS) $(COMMON_LIBS) $(GTK_LIBS) $(VO_LIBS) $(AO_LIBS) $(EXTRA_LIB) $(LIRC_LIB) $(LIRCC_LIB) $(STATIC_LIB) $(ARCH_LIB) $(I18NLIBS) -lm mplayer.exe.spec.c: libmpcodecs/libmpcodecs.a