# | # o---------------------------------------------------------------------o # | # | MAD makefile - Libraries settings # | # o---------------------------------------------------------------------o # | # | Methodical Accelerator Design # | # | Copyright (c) 2011+ CERN, mad@cern.ch # | # | For more information, see http://cern.ch/mad # | # o---------------------------------------------------------------------o # | # | $Id$ # | # ONLINE madx ifeq ($(ONLINE),yes) LIBS += -Llib$(ARCH) -lSDDS1c -lSDDS1 -lrpnlib -lmdbmth -lmdblib -lgsl -lz endif # X11 on Unix ifeq ($(OSTYPE),Linux) ifeq ($(STATIC),yes) LIBS += -Llib$(ARCH) -lX11 -lpthread -lm else LIBS += -lX11 -lm endif endif ifeq ($(OSTYPE),Darwin) LIBS += -L/usr/X11R6/lib -lX11 endif # end of makefile