Line | |
---|
1 | # | |
---|
2 | # o---------------------------------------------------------------------o |
---|
3 | # | |
---|
4 | # | MAD makefile - cl 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 /extlnk:.o |
---|
24 | |
---|
25 | # |
---|
26 | # options flags |
---|
27 | # |
---|
28 | |
---|
29 | ifeq ($(DEBUG),yes) |
---|
30 | LDFLAGS += /Zi /Yd |
---|
31 | endif |
---|
32 | |
---|
33 | ifeq ($(PROFILE),yes) |
---|
34 | LDFLAGS += |
---|
35 | endif |
---|
36 | |
---|
37 | ifeq ($(STATIC),yes) |
---|
38 | LDFLAGS += /MT |
---|
39 | endif |
---|
40 | |
---|
41 | ifeq ($(SHARED),yes) |
---|
42 | LDFLAGS += # TODO |
---|
43 | endif |
---|
44 | |
---|
45 | # |
---|
46 | # command translator |
---|
47 | # |
---|
48 | |
---|
49 | LD_tr = $(strip $(subst $(SPACE)-o , /Fe,$1)) |
---|
50 | |
---|
51 | # end of makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.