New TTask based method to do Digits To clusters. Works with files of multiple
[u/mrichter/AliRoot.git] / build / Makefile.Linux
CommitLineData
f0a26826 1PLATFORM:=linux
2
3# The compilers
4CXX = g++
5F77 = g77
6CC = gcc
7
8# Global optimisation
9OPT = -O -g
10
11CXXOPTS = $(OPT) -Wall -fPIC -pipe
12COPT = $(OPT)
13FOPT = $(OPT) -fno-second-underscore
14CXXFLAGS = $(CXXOPTS)
15CFLAGS = -Wall -fPIC -pipe
16
17# rootcint flags
18CINTFLAGS = #$(CXXFLAGS)
19
20# CERNLIB defines
21
22CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
23CLIBCXXOPTS =
24CLIBCOPT =
25CLIBFOPT =
26
27# Common Fortran compilation flags
28FFLAGS = $(CLIBFOPT) $(CLIBDEFS) $(FOPT)
29
30LD = g++
31LDFLAGS = $(OPT)
32
33SHLD = $(LD)
34SOFLAGS = -O2 -shared -Wl
a544e979 35SHLIB = -lg2c
f0a26826 36SOEXT = so
37
38# additional ROOT libraries
39ROOTLIBS += -lEGPythia6 -lcrypt
40
41# rmkdepend flags for building dependencies of FORTRAN files
42DEPENDFFLAGS = $(FFLAGS)
43
44LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
45GLIBS = -L/usr/X11R6/lib -lX11 $(LIBNOVER)
46
47#System libraries
48SYSLIBS = -ldl -lbsd
49
50EXEFLAGS+= -lg2c
51
52
53
54