Line | |
---|
1 | # | |
---|
2 | # o---------------------------------------------------------------------o |
---|
3 | # | |
---|
4 | # | MAD makefile - Libraries 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 | # ONLINE madx |
---|
20 | |
---|
21 | ifeq ($(ONLINE),yes) |
---|
22 | LIBS += -Llib$(ARCH) -lSDDS1c -lSDDS1 -lrpnlib -lmdbmth -lmdblib -lgsl -lz |
---|
23 | endif |
---|
24 | |
---|
25 | # X11 on Unix |
---|
26 | |
---|
27 | ifeq ($(OSTYPE),Linux) |
---|
28 | ifeq ($(STATIC),yes) |
---|
29 | LIBS += -Llib$(ARCH) -lX11 -lpthread -lm |
---|
30 | else |
---|
31 | LIBS += -lX11 -lm |
---|
32 | endif |
---|
33 | endif |
---|
34 | |
---|
35 | ifeq ($(OSTYPE),Darwin) |
---|
36 | LIBS += -L/usr/X11R6/lib -lX11 |
---|
37 | endif |
---|
38 | |
---|
39 | # end of makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.