Several fixes in the histogram definition needed for compilation and coding conv.
[u/mrichter/AliRoot.git] / PWG0 / esdTrackCuts / Makefile
1
2 ROOTCINT        = rootcint
3 ROOTLIBS        = $(shell root-config --glibs) -lEG 
4 ROOTCFLAGS      = $(shell root-config --cflags)
5
6 #
7 # Compile variables 
8 #
9 LIBS            = $(ROOTLIBS) -L$(ALICE_ROOT)/lib/tgt_linux/ -lESD 
10 CPPFLAGS        = $(ROOTCFLAGS) -I$(ALICE_ROOT)/include -I$(ALICE_ROOT)/STEER/ -I./ 
11
12 CXX             = g++   
13 CXXFLAGS        = -c -g -Wall -fPIC 
14 LD              = g++
15 LDFLAGS         = -rdynamic -Wl,-rpath,./ $(LIBS) -o
16 SOFLAGS         = -shared -Wl,-soname,
17 CP              = cp
18
19 LIB       = libESDtrackCuts.so
20 LIBO      = AliESDtrackCutsCint.o \
21             AliESDtrackCuts.o 
22
23 #
24 # Rules
25
26 %Cint.cxx:%.h
27         rootcint -f $@ -c $(ROOTCFLAGS) $(CPPFLAGS) -p -I./  $^
28
29 %.o:%.cxx
30         $(CXX) $(CPPFLAGS) $(CXXFLAGS) $<
31
32 %.so:
33         $(LD) $(SOFLAGS)$@ $^ -o $@
34
35 %:%.o
36         $(LD) $(LDFLAGS) $(LIBS) $^ -o $@
37
38
39
40 #
41 #
42 #----------------------------------------------------------------------------
43
44
45 LIBRARIES = $(LIB)
46
47 #
48 # Targets 
49 #
50 .PHONY:all module 
51
52 all             : $(LIBRARIES) 
53
54 clean:
55         @echo "Cleaning up ..."
56         @$(RM) -f *~ core *Cint.* *.o
57
58 realclean: clean 
59         @echo "Being very tidy ... "
60         @$(RM) -f $(LIBRARIES)*
61         @echo "done"
62
63
64 #
65 # Dependencies  
66 #
67 $(LIB):$(LIBO)
68
69
70