Several fixes in the histogram definition needed for compilation and coding conv.
[u/mrichter/AliRoot.git] / PWG0 / esdTrackCuts / Makefile
CommitLineData
75ec0f41 1
2ROOTCINT = rootcint
3ROOTLIBS = $(shell root-config --glibs) -lEG
4ROOTCFLAGS = $(shell root-config --cflags)
5
6#
7# Compile variables
8#
9LIBS = $(ROOTLIBS) -L$(ALICE_ROOT)/lib/tgt_linux/ -lESD
10CPPFLAGS = $(ROOTCFLAGS) -I$(ALICE_ROOT)/include -I$(ALICE_ROOT)/STEER/ -I./
11
12CXX = g++
13CXXFLAGS = -c -g -Wall -fPIC
14LD = g++
15LDFLAGS = -rdynamic -Wl,-rpath,./ $(LIBS) -o
16SOFLAGS = -shared -Wl,-soname,
17CP = cp
18
989b69a3 19LIB = libESDtrackCuts.so
20LIBO = AliESDtrackCutsCint.o \
21 AliESDtrackCuts.o
75ec0f41 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
45LIBRARIES = $(LIB)
46
47#
48# Targets
49#
50.PHONY:all module
51
52all : $(LIBRARIES)
53
54clean:
55 @echo "Cleaning up ..."
56 @$(RM) -f *~ core *Cint.* *.o
57
58realclean: 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