]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGPP/Makefile
Possibility to remove the contribution of D meson daughters to the number of tracklet...
[u/mrichter/AliRoot.git] / PWGPP / 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 ($(PWGPPevchar_INCLUDE),)
18 ALICEINC += -I../$(PWGPPevchar_INCLUDE)
19endif
20
21# only if no par file was loaded before
22#ifeq ($(ALICEINC),-I.)
23 ifneq ($(ALICE_ROOT),)
24 ALICEINC += -I$(ALICE_ROOT)/include -I$(ALICE_ROOT)/ITS
25 endif
26#endif
27
28ifneq ($(EINCLUDE),)
29 ALICEINC += $(EINCLUDE:%=-I$(ALICE_ROOT)/%)
30endif
31
32
33CXXFLAGS += $(ALICEINC) -g
34
35SRCS += G__$(PACKAGE).cxx
36OBJS = $(SRCS:.cxx=.o)
37
38lib$(PACKAGE).so: $(OBJS)
39 @echo "Linking" $@ ...
40 @/bin/rm -f $@
41 $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
42 @chmod a+x $@
43 @echo "done"
44
45%.o: %.cxx %.h
46 $(CXX) $(PACKCXXFLAGS) -c $< -o $@
47
48clean:
49 @rm -f $(OBJS) *.so G__$(PACKAGE).*
50
51G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
52 @echo "Generating dictionaries ..." $(ALICEINC)
53 rootcint -f $@ -c $(CINTFLAGS) $(ALICEINC) $^
54