Browse Source

Improved Makefile.rule for cross compiler.

tags/v0.2.5
Zhang Xianyi Zhang Xianyi 13 years ago
parent
commit
789f205177
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      Makefile.rule

+ 4
- 1
Makefile.rule View File

@@ -24,10 +24,13 @@ VERSION = 0.2.4
# Fortran compiler. Default is g77. # Fortran compiler. Default is g77.
# FC = gfortran # FC = gfortran


# Even you can specify cross compiler
# Even you can specify cross compiler. Meanwhile, please set HOSTCC.
# CC = x86_64-w64-mingw32-gcc # CC = x86_64-w64-mingw32-gcc
# FC = x86_64-w64-mingw32-gfortran # FC = x86_64-w64-mingw32-gfortran


# If you use the cross compiler, please set this host compiler.
# HOSTCC = gcc

# If you need 32bit binary, define BINARY=32, otherwise define BINARY=64 # If you need 32bit binary, define BINARY=32, otherwise define BINARY=64
# BINARY=64 # BINARY=64




Loading…
Cancel
Save