Line | |
---|
1 | # | |
---|
2 | # o---------------------------------------------------------------------o |
---|
3 | # | |
---|
4 | # | MAD makefile - icl/icc linker 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 | # linker flags |
---|
21 | # |
---|
22 | |
---|
23 | LDFLAGS = /nologo /O$(NOPT) /Qdiag-disable:10161 |
---|
24 | LDLIBS = |
---|
25 | |
---|
26 | # |
---|
27 | # options flags |
---|
28 | # |
---|
29 | |
---|
30 | ifeq ($(DEBUG),yes) |
---|
31 | LDFLAGS += /debug:all |
---|
32 | endif |
---|
33 | |
---|
34 | ifeq ($(PROFILE),yes) |
---|
35 | LDFLAGS += /Qprof-use |
---|
36 | endif |
---|
37 | |
---|
38 | ifeq ($(STATIC),yes) |
---|
39 | LDFLAGS += /static |
---|
40 | endif |
---|
41 | |
---|
42 | ifeq ($(SHARED),yes) |
---|
43 | LDFLAGS += /shared |
---|
44 | endif |
---|
45 | |
---|
46 | ifeq ($(PLUGIN),yes) |
---|
47 | LDFLAGS += /MD # TODO |
---|
48 | endif |
---|
49 | |
---|
50 | # |
---|
51 | # command translator |
---|
52 | # |
---|
53 | |
---|
54 | LD_tr = $(strip $(subst $(SPACE)/O0 , /Od ,$(subst $(SPACE)-o , /Fe,$1))) |
---|
55 | |
---|
56 | # end of makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.