correcting baryon mass subtraction for visible energy in MC
[u/mrichter/AliRoot.git] / JETAN / Makefile
CommitLineData
d3bddbb9 1PACKAGE = invalid-only-for-proof
2
3include $(ROOTSYS)/test/Makefile.arch
4include lib$(PACKAGE).pkg
5
2110a6c0 6
7ALICEINC = -I.
8
9### define include dir for local case and par case
10ifneq ($(ESD_INCLUDE),)
11 ALICEINC += -I../$(ESD_INCLUDE)
7e45cab6 12 ALICEINC += -I../$(AOD_INCLUDE)
8591fed7 13 ALICEINC += -I../$(STEERBase_INCLUDE)
14 ALICEINC += -I../$(ANALYSIS_INCLUDE)
a673b24b 15 ALICEINC += -I../$(ANALYSISalice_INCLUDE)
94384118 16 ifneq ($(JETAN_INCLUDE),)
17 ALICEINC += -I../$(JETAN_INCLUDE)
18 endif
2110a6c0 19 else
20 ifneq ($(ALICE_ROOT),)
21 ALICEINC += -I$(ALICE_ROOT)/include
22 endif
23endif
24
25CXXFLAGS += $(ALICEINC) -g
26
27
d3bddbb9 28SRCS += G__$(PACKAGE).cxx
29OBJS = $(SRCS:.cxx=.o)
30
31lib$(PACKAGE).so: $(OBJS)
32 @echo "Linking" $@ ...
33 @/bin/rm -f $@
10dc066e 34ifeq ($(ARCH),macosx)
d3bddbb9 35 @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ -o $@
36else
37 @$(LD) $(SOFLAGS) $(LDFLAGS) $^ -o $@
38endif
39 @chmod a+x $@
40 @echo "done"
41
42%.o: %.cxx %.h
43 $(CXX) $(CXXFLAGS) -c $< -o $@
44
45clean:
46 @rm -f $(OBJS) *.so G__$(PACKAGE).*
47
48G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
49 @echo "Generating dictionary ..."
c0aec87e 50 rootcint -f $@ -c $(CINTFLAGS) $(ALICEINC) $^
d3bddbb9 51