From: Peter Åstrand Date: Wed, 10 Dec 2008 08:28:37 +0000 (+0000) Subject: MinGW: Compile resource file and link with it. X-Git-Tag: v0.0.90~323 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f5206181a9a099cc1df783c2a24a4d25fb498454;p=tigervnc.git MinGW: Compile resource file and link with it. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3346 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/win/vncviewer/Makefile.am b/win/vncviewer/Makefile.am index ff6a6d69..6a035931 100644 --- a/win/vncviewer/Makefile.am +++ b/win/vncviewer/Makefile.am @@ -42,9 +42,14 @@ vncviewer_SOURCES = $(HDRS) \ vncviewer_CPPFLAGS = -I$(COMMON_DIR) -I$(top_srcdir) -vncviewer_LDADD = $(COMMON_DIR)/rfb/librfb.la $(top_srcdir)/rfb_win32/librfb_win32.la $(COMMON_DIR)/Xregion/libXregion.la \ - $(COMMON_DIR)/network/libnetwork.la $(COMMON_DIR)/rdr/librdr.la -lws2_32 -lgdi32 -luser32 -lcomctl32 -lversion -lcomdlg32 +vncviewer_LDADD = $(COMMON_DIR)/rfb/librfb.la \ + $(top_srcdir)/rfb_win32/librfb_win32.la \ + $(COMMON_DIR)/Xregion/libXregion.la \ + $(COMMON_DIR)/network/libnetwork.la \ + $(COMMON_DIR)/rdr/librdr.la \ + resources.o -lws2_32 -lgdi32 -luser32 -lcomctl32 -lversion -lcomdlg32 vncviewer_LDFLAGS = -I$(top_srcdir)/win - +resources.o: vncviewer.rc + i386-mingw32msvc-windres $^ -o $@