source: PSPA/madxPSPA/Makefile_lib

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

import madx-5.01.00

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