diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-04-23 22:20:07 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-04-23 22:20:07 +0200 |
commit | 5bd7e0ddeb0998673182e4f9d9eb87d7f84a5e4e (patch) | |
tree | b1cd1b5fe67e76afdf5afd8fb24156736ed6da82 /Makerules | |
parent | 422c43d265dc3f3e5a9907839ce4e308f8b83b60 (diff) | |
download | mupdf-5bd7e0ddeb0998673182e4f9d9eb87d7f84a5e4e.tar.xz |
Add mingw32 cross compilation targets to make file.
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -87,6 +87,22 @@ CROSSCOMPILE=yes NOX11=yes endif +ifeq "$(OS)" "w64_x86-cross-mingw32" +CC = i686-w64-mingw32-gcc +LD = i686-w64-mingw32-gcc +AR = i686-w64-mingw32-ar +CROSSCOMPILE=yes +NOX11=yes +endif + +ifeq "$(OS)" "w64_amd64-cross-mingw32" +CC = x86_64-w64-mingw32-gcc +LD = x86_64-w64-mingw32-gcc +AR = x86_64-w64-mingw32-ar +CROSSCOMPILE=yes +NOX11=yes +endif + # Most variables when building for iOS are set up in ios/build_libs.sh, # which is called from the Xcode project as a "Run Script" build step. # The following section works for both device and simulator builds. |