]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/Makefile
completely re-worked TPC CA tracking code (Sergey/Ivan)
[u/mrichter/AliRoot.git] / HLT / PHOS / Makefile
1 include Makefile.arch
2
3 ROOTLIBS         = `root-config --libs`  -lVMC -lGeom -lEG
4 ALIROOTLIBS      = -L$(ALICE_ROOT)/lib/tgt_linux  -lESD -lRAWDatarec -lRAWDatabase -lSTEERBase
5
6
7 #LIBS            = $(LIBS) $(ROOTLIBS) $(ALIROOTLIBS)
8 LIBS             = $(ROOTLIBS) $(ALIROOTLIBS)
9
10 ROOTINCLUDE      = -I$(ROOTSYS)/include
11 ALIROOTINCLUDE   = -I$(ALICE_ROOT)/include  -I$(ALICE_ROOT)/RAW
12 INCLUDES         =  $(ROOTINCLUDE) $(ALIROOTINCLUDE)
13
14 #MAINO       = testDecoder.$(ObjSuf) AliHLTAltroData.$(ObjSuf)  AliHLTAltroBunch.$(ObjSuf) AliHLTDDLDecoder.$(ObjSuf)
15 #MAINS       = testDecoder.$(SrcSuf) AliHLTAltroData.$(SrcSuf)  AliHLTAltroBunch.$(SrcSuf) AliHLTDDLDecoder.$(SrcSuf)
16
17
18 MAINO       = testDecoder.$(ObjSuf)
19 MAINS       = testDecoder.$(SrcSuf) 
20
21 MAIN        = testDecoder$(ExeSuf)
22
23
24 OBJS          = $(MAINO) 
25 PROGRAMS      = $(MAIN) 
26
27
28 .SUFFIXES: .$(SrcSuf) .$(ObjSuf) .$(DllSuf)
29
30 all:            $(PROGRAMS)
31
32
33 $(MAIN):        $(MAINO)
34                 $(LD) $(LDFLAGS) $(INCLUDES) $^ $(LIBS) $(GLIBS) -lTreePlayer -lMathCore -lThread -lpthread $(OutPutOpt)$(MAIN)
35                 @echo "$@ done"
36
37
38 clean:
39                 @rm -f $(OBJS) core
40
41 distclean:      clean
42                 -@mv -f linearIO.root linearIO.roott
43                 @rm -f $(PROGRAMS) $(EVENTSO) $(EVENTLIB) *Dict.* *.def *.exp \
44                    *.root *.ps *.so *.lib *.dll *.d .def so_locations
45                 @rm -rf cxx_repository
46                 -@mv -f linearIO.roott linearIO.root
47                 -@cd RootShower && $(MAKE) distclean
48
49 .SUFFIXES: .$(SrcSuf)
50
51
52 #AliHLTAltroData.$(ObjSuf): AliHLTAltroData.h
53 #AliHLTDDLDecoder.$(ObjSuf): AliHLTDDLDecoder.h
54 #testDecoder.$(ObjSuf): AliHLTAltroData.h AliHLTDDLDecoder.h
55 testDecoder.$(ObjSuf): 
56
57 .$(SrcSuf).$(ObjSuf):
58         $(CXX) $(CXXFLAGS) $(INCLUDES) -c $<