[430] | 1 | # | |
---|
| 2 | # o---------------------------------------------------------------------o |
---|
| 3 | # | |
---|
| 4 | # | MAD makefile - compilers environement on windows |
---|
| 5 | # | |
---|
| 6 | # o---------------------------------------------------------------------o |
---|
| 7 | # | |
---|
| 8 | # | Methodical Accelerator Design |
---|
| 9 | # | |
---|
| 10 | # | Copyright (c) 2011+ CERN, mad@cern.ch |
---|
| 11 | # | |
---|
| 12 | # | For more information, see http://cern.ch/mad |
---|
| 13 | # | |
---|
| 14 | # o---------------------------------------------------------------------o |
---|
| 15 | # | |
---|
| 16 | # | $Id$ |
---|
| 17 | # | |
---|
| 18 | |
---|
| 19 | This build system requires Gnu Make 3.81. |
---|
| 20 | Binaries available from http://gnuwin32.sourceforge.net/packages/make.htm |
---|
| 21 | |
---|
| 22 | Intel icl compiler requires sed for dependencies computation |
---|
| 23 | Binaries available from http://gnuwin32.sourceforge.net/packages/sed.htm |
---|
| 24 | |
---|
| 25 | Microsoft cl compiler requires sed and grep for dependencies computation |
---|
| 26 | Binaries available from http://gnuwin32.sourceforge.net/packages/sed.htm |
---|
| 27 | Binaries available from http://gnuwin32.sourceforge.net/packages/grep.htm |
---|
| 28 | |
---|
| 29 | For a complete installation of the GnuWin32 packages: |
---|
| 30 | http://gnuwin32.sourceforge.net/ -> Download all |
---|
| 31 | |
---|
| 32 | For a complete installation of the MinGW environment: |
---|
| 33 | http://www.mingw.org/ |
---|
| 34 | |
---|
| 35 | For a complete installation of the MinGW-w64 environment: |
---|
| 36 | http://mingw-w64.sourceforge.net/ |
---|
| 37 | |
---|
| 38 | For a complete installation of the Cygwin environment: |
---|
| 39 | http://www.cygwin.com/ |
---|
| 40 | |
---|
| 41 | GNU compilers: CC=gcc, CXX=g++, FC=gfortran |
---|
| 42 | -------------- |
---|
| 43 | Cygwin32: Nothing to do for ARCH=32, not supported for ARCH=64 (no Cygwin64) |
---|
| 44 | MinGW: Nothing to do for ARCH=32, not supported for ARCH=64 |
---|
| 45 | MinGW-w64: Nothing to do for ARCH=32 and ARCH=64 |
---|
| 46 | |
---|
| 47 | Intel compilers: CC=icl, CXX=icl, FC=ifort |
---|
| 48 | ---------------- |
---|
| 49 | Starts the command prompt corresponding to the ifort environment (32/64 bit) |
---|
| 50 | Add the C/C++ compiler path corresponding to the icl path (32/64 bit) |
---|
| 51 | path %path%;C:\Program Files\Intel\Compiler\11.1\054\bin\ia32 |
---|
| 52 | or |
---|
| 53 | path %path%;C:\Program Files\Intel\Compiler\11.1\054\bin\ia32_intel64 |
---|
| 54 | |
---|
| 55 | Intel/Microsoft compilers: CC=cl, CXX=cl, FC=ifort |
---|
| 56 | -------------------------- |
---|
| 57 | Starts the command prompt corresponding to the ifort environment (32/64 bit) |
---|
| 58 | |
---|