Line | |
---|
1 | # | |
---|
2 | # o---------------------------------------------------------------------o |
---|
3 | # | |
---|
4 | # | MAD makefile - nagfor compiler settings |
---|
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 | # |
---|
20 | # makedep |
---|
21 | # |
---|
22 | |
---|
23 | # FDEP = fpp -M $(addprefix -I,$(FC_DIR)) |
---|
24 | |
---|
25 | # |
---|
26 | # preprocessor flags |
---|
27 | # |
---|
28 | |
---|
29 | CPPFLAGS += -D_NAGFOR |
---|
30 | |
---|
31 | # |
---|
32 | # compiler flags |
---|
33 | # |
---|
34 | |
---|
35 | FFLAGS = -f95 -O$(NOPT) -w=unused -c |
---|
36 | |
---|
37 | ifeq ($(ARCH),32) |
---|
38 | FFLAGS += -Wc,-m32 -abi=32 |
---|
39 | endif |
---|
40 | |
---|
41 | # |
---|
42 | # options flags |
---|
43 | # |
---|
44 | |
---|
45 | ifeq ($(DEBUG),yes) |
---|
46 | FFLAGS += -g -C=all -nan # -mtrace=size,line |
---|
47 | endif |
---|
48 | |
---|
49 | ifeq ($(PROFILE),yes) |
---|
50 | FFLAGS += -pg |
---|
51 | endif |
---|
52 | |
---|
53 | # |
---|
54 | # extra flags |
---|
55 | # |
---|
56 | |
---|
57 | FFLAGS += -gline -maxcontin=100 -ieee=full -mdir $(OBJDIR) \ |
---|
58 | -I$(OBJDIR) $(addprefix -I,$(FC_DIR)) |
---|
59 | |
---|
60 | # end of makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.