]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/Makefile.conf
Small changes in order to make compiling easier for new users.
[u/mrichter/AliRoot.git] / HLT / Makefile.conf
1 #$Id$
2 ###########################
3 # Makefile for HLT code.  #
4 #                         #
5 # Author: Anders Vestbo   #                    
6 ###########################
7
8 #Define whether you want to run with ALIROOT or only ROOT
9 #Only one of them should be defined
10 ifndef USEPACKAGE
11 USEPACKAGE = ALIROOT
12 #USEPACKAGE = ROOT
13 #USEPACKAGE = STANDALONE
14 endif
15
16 #Specify the directory where the level3code tree is located.
17 ifndef TOPDIR
18 TOPDIR = $(HOME)/workcode/level3code
19 endif
20
21 #Define directory to contain additional L3 code, such as logging classes.
22 ifndef LEVEL3
23 LEVEL3 = /prog/alice/level3
24 endif
25 ifndef LIBDIR
26 LIBDIR = $(LEVEL3)/lib_$(USERNAME)
27 endif
28
29 #Switch on/off HLT logging classes
30 #NOLOGGING = 1
31
32 #Switch on/off saving MC data through the chain.
33 #This will only have an effect if you are running with aliroot.
34 #DO_MC = 1 
35
36 #Switch of  if you are not using patched AliTPC 
37 #This will only have an effect if you are running with aliroot.
38 ASVVERSION = 1
39
40 #If you are compiling on the alpha, use this flag:
41 #EXTRACXXFLAGS += -mcpu=ev6
42
43 CXX          = g++
44 LD           = g++
45 GCCVERSION   = $(shell $(CXX) --version | head -n 1 | cut -d" " -f 3 | cut -d. -f 1)
46
47 CXXGCC3FLAGS = -DGCCVERSION=$(GCCVERSION)
48 #CXXGCC3FLAGS += -pedantic
49 #CXXGCC3FLAGS += -Wno-deprecated
50
51 CXXFLAGS     = -O2 -Wall -fPIC -Woverloaded-virtual $(CXXGCC3FLAGS) $(EXTRACXXFLAGS) 
52 LDFLAGS      = -O2 $(EXTRALDFLAGS)
53 SOFLAGS      = -shared