Improved Makefile.rule for cross compiler.

This commit is contained in:
Zhang Xianyi 2012-11-08 22:15:04 +08:00 committed by Zhang Xianyi
parent 378acfe826
commit 789f205177
1 changed files with 4 additions and 1 deletions

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