Added compiler version information macro to differentiate between gcc version 2.x...
[u/mrichter/AliRoot.git] / HLT / Makefile.conf
CommitLineData
01ee3a4e 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
10ifndef USEPACKAGE
01ee3a4e 11USEPACKAGE = ALIROOT
c1123a44 12#USEPACKAGE = ROOT
13#USEPACKAGE = STANDALONE
01ee3a4e 14endif
15
16#Specify the directory where the level3code tree is located.
17ifndef TOPDIR
18TOPDIR = $(HOME)/workcode/level3code
19endif
20ifndef LIBDIR
21LIBDIR = $(LEVEL3)/lib_$(USERNAME)
22endif
01ee3a4e 23
24#Switch on/off HLT logging classes
47b00675 25NOLOGGING = 1
01ee3a4e 26
27#Switch on/off saving MC data through the chain.
28#This will only have an effect if you are running with aliroot.
47b00675 29#DO_MC = 1
01ee3a4e 30
47b00675 31CXX = g++
32LD = g++
33GCCVERSION = $(shell $(CXX) --version | head -n 1 | cut -d" " -f 3 | cut -d. -f 1)
b1f97365 34
47b00675 35CXXGCC3FLAGS = -DGCCVERSION=$(GCCVERSION)
36#CXXGCC3FLAGS += -pedantic
37#CXXGCC3FLAGS += -Wno-deprecated
38
39CXXFLAGS = -O2 -Wall -fPIC -Woverloaded-virtual $(CXXGCC3FLAGS) $(EXTRACXXFLAGS)
40LDFLAGS = -O2 $(EXTRALDFLAGS)
41SOFLAGS = -shared