]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/Makefile
New code to record the timing information of various methods in simulation and recons...
[u/mrichter/AliRoot.git] / STEER / Makefile
CommitLineData
ce917c76 1PACKAGE = invalid-only-for-proof
2
3include $(ROOTSYS)/test/Makefile.arch
4include lib$(PACKAGE).pkg
5
f426470e 6ifndef PACKCXXFLAGS
7PACKCXXFLAGS = $(CXXFLAGS)
8endif
9
1b6a1002 10ifneq ($(ESD_INCLUDE),)
11 PACKCXXFLAGS += -I../$(ESD_INCLUDE)
12endif
7e995b61 13SRCS += G__$(PACKAGE).cxx
ce917c76 14OBJS = $(SRCS:.cxx=.o)
15
16lib$(PACKAGE).so: $(OBJS)
17 @echo "Linking" $@ ...
18 @/bin/rm -f $@
19ifeq ($(PLATFORM),macosx)
20 @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ -o $@
21else
7e995b61 22 @$(LD) $(SOFLAGS) $(LDFLAGS) $^ -o $@
ce917c76 23endif
24 @chmod a+x $@
25 @echo "done"
26
27%.o: %.cxx %.h
f426470e 28 $(CXX) $(PACKCXXFLAGS) -c $< -o $@
ce917c76 29
30clean:
7e995b61 31 @rm -f $(OBJS) *.so G__$(PACKAGE).*
ce917c76 32
7e995b61 33G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
ce917c76 34 @echo "Generating dictionary ..."
f426470e 35 rootcint -f $@ -c $(CINTFLAGS) $(ALICEINC) $^
ce917c76 36