summaryrefslogtreecommitdiffstats
path: root/Rules.mk
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-06 21:04:25 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-06 21:04:25 -0700
commit475e058d40690803a4114f5aa9055023af6e6b4b (patch)
tree352b9ccb4fd147dd098135fa70145358dc0b6387 /Rules.mk
parent34db6dc2bea6173c070c9820a2e57a511b9ca0b1 (diff)
downloadsubsurface-475e058d40690803a4114f5aa9055023af6e6b4b.tar.gz
Make Windows cross compile again
But this is broken as the utf8/utf16 conversions in windows.c are gone without glib. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Rules.mk')
-rw-r--r--Rules.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Rules.mk b/Rules.mk
index 9fa3095bb..d711ad025 100644
--- a/Rules.mk
+++ b/Rules.mk
@@ -144,6 +144,10 @@ create-macosx-bundle: all
sign-macosx-bundle: all
codesign -s "3A8CE62A483083EDEA5581A61E770EC1FA8BECE8" /Applications/$(CAPITALIZED_NAME).app/Contents/MacOS/$(NAME)-bin
+$(RESFILE): packaging/windows/subsurface.rc
+ @$(PRETTYECHO) ' WINDRES' $<
+ @i686-w64-mingw32-windres -O coff -i $< -o $@
+
install-cross-windows: all
$(INSTALL) -d -m 755 $(WINDOWSSTAGING)/share/locale
for MSG in $(WINMSGDIRS); do\