]> git.uio.no Git - u/mrichter/AliRoot.git/blame - SHUTTLE/TestShuttle/Makefile
Method: TObjString::GetString() replaced with TObjString::String() in GetFile method...
[u/mrichter/AliRoot.git] / SHUTTLE / TestShuttle / Makefile
CommitLineData
5c6b40ae 1# $Id$
2
3PACKAGE = TestShuttle
4
5include $(ROOTSYS)/test/Makefile.arch
c1c35652 6include $(PACKAGE).pkg
5c6b40ae 7
8ALICEINC = -I.
9
10ifneq ($(ALICE_ROOT),)
eba76848 11 ALICEINC += -I$(ALICE_ROOT)/include
5c6b40ae 12endif
13
9977ec1e 14CXXFLAGS += $(ALICEINC) -g
5c6b40ae 15SRCS += dict.cxx
16OBJS = $(SRCS:.cxx=.o)
17
18lib$(PACKAGE).so: $(OBJS)
19 @echo "Linking" $@ ...
20 @/bin/rm -f $@
5c6b40ae 21 @$(LD) $(SOFLAGS) $(LDFLAGS) $(OBJS) -o $@
5c6b40ae 22 @chmod a+x $@
23 @echo "done"
24
25%.o: %.cxx %.h
26 $(CXX) $(CXXFLAGS) -c $< -o $@
27
28clean:
29 @rm -f $(OBJS) core *~ *.so dict.* $(PARFILE)
30
31dict.cxx dict.h: $(HDRS) $(DHDR)
32 @echo "Generating dictionary ..."
33 @[ -f dict ] || rm -f $@
34 rootcint -f $@ -c $(ALICEINC) $^