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 |
10 | ifndef USEPACKAGE |
01ee3a4e |
11 | USEPACKAGE = ALIROOT |
c1123a44 |
12 | #USEPACKAGE = ROOT |
13 | #USEPACKAGE = STANDALONE |
01ee3a4e |
14 | endif |
15 | |
16 | #Specify the directory where the level3code tree is located. |
17 | ifndef TOPDIR |
18 | TOPDIR = $(HOME)/workcode/level3code |
19 | endif |
20 | ifndef LIBDIR |
21 | LIBDIR = $(LEVEL3)/lib_$(USERNAME) |
22 | endif |
01ee3a4e |
23 | |
24 | #Switch on/off HLT logging classes |
25 | #NOLOGGING = 1 |
26 | |
27 | #Switch on/off saving MC data through the chain. |
28 | #This will only have an effect if you are running with aliroot. |
29 | #DO_MC = 1 |
30 | |
31 | CXX = g++ |
32 | LD = g++ |
b1f97365 |
33 | CXXFLAGS = -O2 -Wall -fPIC -Woverloaded-virtual $(EXTRACXXFLAGS) |
34 | LDFLAGS = -O2 $(EXTRALDFLAGS) |
35 | SOFLAGS = -shared |
36 | |