]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/Makefile
Avoid mixing up trigger and tracks replacing the option "CP" by
[u/mrichter/AliRoot.git] / STEER / Makefile
CommitLineData
ce917c76 1PACKAGE = invalid-only-for-proof
2
3include $(ROOTSYS)/test/Makefile.arch
4include lib$(PACKAGE).pkg
5
7e995b61 6SRCS += G__$(PACKAGE).cxx
ce917c76 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
7e995b61 15 @$(LD) $(SOFLAGS) $(LDFLAGS) $^ -o $@
ce917c76 16endif
17 @chmod a+x $@
18 @echo "done"
19
20%.o: %.cxx %.h
21 $(CXX) $(CXXFLAGS) -c $< -o $@
22
23clean:
7e995b61 24 @rm -f $(OBJS) *.so G__$(PACKAGE).*
ce917c76 25
7e995b61 26G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
ce917c76 27 @echo "Generating dictionary ..."
ce917c76 28 rootcint -f $@ -c $(ALICEINC) $^
29