]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/Makefile
Getting properly the run number and adding a protection in case of run number inconsi...
[u/mrichter/AliRoot.git] / STEER / Makefile
CommitLineData
ce917c76 1PACKAGE = invalid-only-for-proof
2
3include $(ROOTSYS)/test/Makefile.arch
4include lib$(PACKAGE).pkg
5
6SRCS += dict.cxx
7OBJS = $(SRCS:.cxx=.o)
8
9lib$(PACKAGE).so: $(OBJS)
10 @echo "Linking" $@ ...
11 @/bin/rm -f $@
12ifeq ($(PLATFORM),macosx)
13 @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ -o $@
14else
15 @$(LD) $(SOFLAGS) $(LDFLAGS) $(OBJS) -o $@
16endif
17 @chmod a+x $@
18 @echo "done"
19
20%.o: %.cxx %.h
21 $(CXX) $(CXXFLAGS) -c $< -o $@
22
23clean:
24 @rm -f $(OBJS) core *~ *.so dict.*
25
26dict.cxx dict.h: $(HDRS) $(DHDR)
27 @echo "Generating dictionary ..."
28 @[ -f dict ] || rm -f $@
29 rootcint -f $@ -c $(ALICEINC) $^
30