source: PSPA/madxPSPA/make/linker.icl @ 478

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

import madx-5.01.00

File size: 900 bytes
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
23LDFLAGS = /nologo /O$(NOPT) /Qdiag-disable:10161
24LDLIBS  =
25
26#
27# options flags
28#
29
30ifeq ($(DEBUG),yes)
31LDFLAGS += /debug:all
32endif
33
34ifeq ($(PROFILE),yes)
35LDFLAGS += /Qprof-use
36endif
37
38ifeq ($(STATIC),yes)
39LDFLAGS += /static
40endif
41
42ifeq ($(SHARED),yes)
43LDFLAGS += /shared
44endif
45
46ifeq ($(PLUGIN),yes)
47LDFLAGS += /MD # TODO
48endif
49
50#
51# command translator
52#
53
54LD_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.