A pilot piece of code for varying the topological cuts using David's trees.
[u/mrichter/AliRoot.git] / PWGCF / Makefile
CommitLineData
f4545ac7 1PACKAGE = invalid-only-for-proof
2
3include Makefile.arch
4
5SRCS = $(wildcard *.cxx)
6HDRS = $(SRCS:.cxx=.h)
7DHDR = $(PACKAGE)LinkDef.h
8
9
10ifndef PACKCXXFLAGS
11 PACKCXXFLAGS = $(CXXFLAGS)
12endif
13
14ALICEINC = -I.
15ALICEINC += -I./$(PACKAGE)/
16
17ifneq ($(PWGCFebye_INCLUDE),)
18 ALICEINC += -I../$(PWGCFebye_INCLUDE) -I../$(PWGCFebye_INCLUDE)/LRC
19else
20 ALICEINC += -I$(ALICE_ROOT)/PWGCF/EBYE -I$(ALICE_ROOT)/PWGCF/EBYE/LRC
21endif
22
23ifneq ($(PWGCFfemtoscopy_INCLUDE),)
24 ALICEINC += -I../$(PWGCFfemtoscopy_INCLUDE) -I../$(PWGCFfemtoscopy_INCLUDE)/AliFemto
25else
26 ALICEINC += -I$(ALICE_ROOT)/PWGCF/FEMTOSCOPY -I$(ALICE_ROOT)/PWGCF/FEMTOSCOPY/AliFemto
27endif
28
29ifneq ($(PWGCFfemtoscopyUser_INCLUDE),)
30 ALICEINC += -I../$(PWGCFfemtoscopyUser_INCLUDE)
31endif
32
33ifneq ($(PWGCFunicor_INCLUDE),)
34 ALICEINC += -I../$(PWGCFunicor_INCLUDE)
35endif
36
9b143719 37ifneq ($(PWGCFCorrelationsBase_INCLUDE),)
38 ALICEINC += -I../$(PWGCFCorrelationsBase_INCLUDE)
39endif
40
41ifneq ($(PWGCFCorrelationsDPhi_INCLUDE),)
42 ALICEINC += -I../$(PWGCFCorrelationsDPhi_INCLUDE)
43endif
44
f4545ac7 45# only if no par file was loaded before
46#ifeq ($(ALICEINC),-I.)
47 ifneq ($(ALICE_ROOT),)
48 ALICEINC += -I$(ALICE_ROOT)/include
49 endif
50#endif
51
52
53
54
55CXXFLAGS += $(ALICEINC) -g
56
57SRCS += G__$(PACKAGE).cxx
58OBJS = $(SRCS:.cxx=.o)
59
60lib$(PACKAGE).so: $(OBJS)
61 @echo "Linking" $@ ...
62 @/bin/rm -f $@
63 $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
64 @chmod a+x $@
65 @echo "done"
66
67%.o: %.cxx %.h
68 $(CXX) $(PACKCXXFLAGS) -c $< -o $@
69
70clean:
71 @rm -f $(OBJS) *.so G__$(PACKAGE).*
72
73G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
74 @echo "Generating dictionaries ..." $(ALICEINC)
75 rootcint -f $@ -c $(CINTFLAGS) $(ALICEINC) $^
76