Line | |
---|
1 | # | |
---|
2 | # o---------------------------------------------------------------------o |
---|
3 | # | |
---|
4 | # | MAD makefile - lf95 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 | # lf95 does not compute fortran dependencies |
---|
24 | # FDEP = |
---|
25 | |
---|
26 | # |
---|
27 | # preprocessor flags |
---|
28 | # |
---|
29 | |
---|
30 | CPPFLAGS += -D_LF95 |
---|
31 | |
---|
32 | # |
---|
33 | # compiler flags |
---|
34 | # |
---|
35 | |
---|
36 | FFLAGS = -Wa,--$(ARCH) --f95 --o$(NOPT) --warn -c |
---|
37 | |
---|
38 | # |
---|
39 | # options flags |
---|
40 | # |
---|
41 | |
---|
42 | ifeq ($(DEBUG),yes) |
---|
43 | FFLAGS += -g --info --ap --chkglobal --lst --trap |
---|
44 | endif |
---|
45 | |
---|
46 | ifeq ($(PROFILE),yes) # not found in the doc |
---|
47 | FFLAGS += -pg |
---|
48 | endif |
---|
49 | |
---|
50 | # |
---|
51 | # extra flags |
---|
52 | # |
---|
53 | |
---|
54 | FFLAGS += --mod $(OBJDIR) $(addprefix -I,$(FC_DIR)) |
---|
55 | |
---|
56 | # end of makefile |
---|
57 | |
---|
Note: See
TracBrowser
for help on using the repository browser.