Line | |
---|
1 | # | |
---|
2 | # o---------------------------------------------------------------------o |
---|
3 | # | |
---|
4 | # | PTC makefile |
---|
5 | # | |
---|
6 | # o---------------------------------------------------------------------o |
---|
7 | # | |
---|
8 | # | Polymorphic Tracking Code from Etienne Forest |
---|
9 | # | |
---|
10 | # | For more information, see http://cern.ch/mad |
---|
11 | # | |
---|
12 | # o---------------------------------------------------------------------o |
---|
13 | # | |
---|
14 | # | $Id$ |
---|
15 | # | |
---|
16 | |
---|
17 | # For makefile documentation, please read make/README |
---|
18 | # For information and bug report, please contact mad@cern.ch |
---|
19 | |
---|
20 | ################### |
---|
21 | # Project settings |
---|
22 | |
---|
23 | PROJECT := libptc |
---|
24 | |
---|
25 | ################# |
---|
26 | # Build settings |
---|
27 | # |
---|
28 | |
---|
29 | # architecture bit: detect/32/64 (default is detect) |
---|
30 | ARCH := detect |
---|
31 | |
---|
32 | # debugging mode: yes/no (default is no) |
---|
33 | DEBUG := no |
---|
34 | |
---|
35 | # profiling mode: yes/no (default is no) |
---|
36 | PROFILE := no |
---|
37 | |
---|
38 | # make shared lib: yes/no (default is yes) |
---|
39 | SHARED := yes |
---|
40 | |
---|
41 | ############################# |
---|
42 | # Compilers/Linkers settings |
---|
43 | # see make/compiler.* for supported compilers |
---|
44 | # GNU=yes sets CC=gcc, CXX=g++, FC=gfortran (default) |
---|
45 | # Intel=yes sets CC=icc/icl, CXX=icc/icl, FC=ifort (use icl on Windows) |
---|
46 | |
---|
47 | # Fortran compiler (default is gfortran) |
---|
48 | FC := gfortran |
---|
49 | |
---|
50 | # Linker (default is Fortran compiler, deferred) |
---|
51 | LD = $(FC) |
---|
52 | |
---|
53 | # Archiver (default is ar) |
---|
54 | AR := ar |
---|
55 | |
---|
56 | #################### |
---|
57 | # Includes settings |
---|
58 | |
---|
59 | FILE_F90 := Makefile_f90 |
---|
60 | |
---|
61 | #################### |
---|
62 | # Makefile includes |
---|
63 | |
---|
64 | makedir := ../../make |
---|
65 | include $(makedir)/make.inc |
---|
66 | |
---|
67 | # end of makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.