source: PSPA/madxPSPA/make/compiler.nagfor @ 445

Last change on this file since 445 was 430, checked in by touze, 11 years ago

import madx-5.01.00

File size: 939 bytes
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
29CPPFLAGS += -D_NAGFOR
30
31#
32# compiler flags
33#
34
35FFLAGS = -f95 -O$(NOPT) -w=unused -c
36
37ifeq ($(ARCH),32)
38FFLAGS += -Wc,-m32 -abi=32
39endif
40
41#
42# options flags
43#
44
45ifeq ($(DEBUG),yes)
46FFLAGS += -g -C=all -nan # -mtrace=size,line
47endif
48
49ifeq ($(PROFILE),yes)
50FFLAGS += -pg
51endif
52
53#
54# extra flags
55#
56
57FFLAGS += -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.