Adding the hit strips patterns (Bogdan)
[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)
2110a6c0 16 else
17 ifneq ($(ALICE_ROOT),)
18 ALICEINC += -I$(ALICE_ROOT)/include
19 endif
20endif
21
22CXXFLAGS += $(ALICEINC) -g
23
24
d3bddbb9 25SRCS += G__$(PACKAGE).cxx
26OBJS = $(SRCS:.cxx=.o)
27
28lib$(PACKAGE).so: $(OBJS)
29 @echo "Linking" $@ ...
30 @/bin/rm -f $@
31ifeq ($(PLATFORM),macosx)
32 @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ -o $@
33else
34 @$(LD) $(SOFLAGS) $(LDFLAGS) $^ -o $@
35endif
36 @chmod a+x $@
37 @echo "done"
38
39%.o: %.cxx %.h
40 $(CXX) $(CXXFLAGS) -c $< -o $@
41
42clean:
43 @rm -f $(OBJS) *.so G__$(PACKAGE).*
44
45G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
46 @echo "Generating dictionary ..."
47 rootcint -f $@ -c $(ALICEINC) $^
48