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 LIBDIR = $(LEVEL3)/lib_$(USERNAME)
24 #Switch on/off HLT logging classes
27 #Switch on/off saving MC data through the chain.
28 #This will only have an effect if you are running with aliroot.
31 #Switch of if you are not using patched AliTPC
32 #This will only have an effect if you are running with aliroot.
35 #If you are compiling on the alpha, use this flag:
36 #EXTRACXXFLAGS += -mcpu=ev6
40 GCCVERSION = $(shell $(CXX) --version | head -n 1 | cut -d" " -f 3 | cut -d. -f 1)
42 CXXGCC3FLAGS = -DGCCVERSION=$(GCCVERSION)
43 #CXXGCC3FLAGS += -pedantic
44 #CXXGCC3FLAGS += -Wno-deprecated
46 CXXFLAGS = -O2 -Wall -fPIC -Woverloaded-virtual $(CXXGCC3FLAGS) $(EXTRACXXFLAGS)
47 LDFLAGS = -O2 $(EXTRALDFLAGS)