2 ###########################
3 # Makefile for HLT code. #
5 # Author: Anders Vestbo #
6 ###########################
8 #Define whether you want to run with ALIROOT or only ROOT
9 #Only one of them should be defined
13 #USEPACKAGE = STANDALONE
16 #Specify the directory where the level3code tree is located.
18 TOPDIR = $(HOME)/workcode/level3code
21 #Define directory to contain additional L3 code, such as logging classes.
23 LEVEL3 = /prog/alice/level3
26 LIBDIR = $(LEVEL3)/lib_$(USERNAME)
29 #Switch on/off HLT logging classes
32 #Switch on/off saving MC data through the chain.
33 #This will only have an effect if you are running with aliroot.
36 #Switch of if you are not using patched AliTPC
37 #This will only have an effect if you are running with aliroot.
40 #If you are compiling on the alpha, use this flag:
41 #EXTRACXXFLAGS += -mcpu=ev6
45 GCCVERSION = $(shell $(CXX) --version | head -n 1 | cut -d" " -f 3 | cut -d. -f 1)
47 CXXGCC3FLAGS = -DGCCVERSION=$(GCCVERSION)
48 #CXXGCC3FLAGS += -pedantic
49 #CXXGCC3FLAGS += -Wno-deprecated
51 CXXFLAGS = -O2 -Wall -fPIC -Woverloaded-virtual $(CXXGCC3FLAGS) $(EXTRACXXFLAGS)
52 LDFLAGS = -O2 $(EXTRALDFLAGS)