]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/Makefile
bba709131788809bcc2d9ecbd376c819da1c715b
[u/mrichter/AliRoot.git] / HLT / PHOS / Makefile
1 include Makefile.arch
2
3
4 MAINO       = testDecoder.$(ObjSuf) AliHLTAltroData.$(ObjSuf)  AliHLTAltroBunch.$(ObjSuf) AliHLTDDLDecoder.$(ObjSuf)
5
6 MAINS       = testDecoder.$(SrcSuf) AliHLTAltroData.$(SrcSuf)  AliHLTAltroBunch.$(SrcSuf) AliHLTDDLDecoder.$(SrcSuf)
7
8 MAIN        = testDecoder$(ExeSuf)
9
10
11 OBJS          = $(MAINO) 
12 PROGRAMS      = $(MAIN) 
13
14
15 .SUFFIXES: .$(SrcSuf) .$(ObjSuf) .$(DllSuf)
16
17 all:            $(PROGRAMS)
18
19
20 $(MAIN):        $(MAINO)
21                 $(LD) $(LDFLAGS) $^ $(LIBS) $(GLIBS) -lTreePlayer -lMathCore -lThread -lpthread $(OutPutOpt)$(MAIN)
22                 @echo "$@ done"
23
24
25 clean:
26                 @rm -f $(OBJS) core
27
28 distclean:      clean
29                 -@mv -f linearIO.root linearIO.roott
30                 @rm -f $(PROGRAMS) $(EVENTSO) $(EVENTLIB) *Dict.* *.def *.exp \
31                    *.root *.ps *.so *.lib *.dll *.d .def so_locations
32                 @rm -rf cxx_repository
33                 -@mv -f linearIO.roott linearIO.root
34                 -@cd RootShower && $(MAKE) distclean
35
36 .SUFFIXES: .$(SrcSuf)
37         
38 AliHLTAltroData.$(ObjSuf): AliHLTAltroData.h
39 AliHLTDDLDecoder.$(ObjSuf): AliHLTDDLDecoder.h
40 testDecoder.$(ObjSuf): AliHLTAltroData.h AliHLTDDLDecoder.h
41
42 .$(SrcSuf).$(ObjSuf):
43         $(CXX) $(CXXFLAGS) -c $<