Corrections for the TGeo interface. (A. Gheata)
[u/mrichter/AliRoot.git] / JETAN / Makefile
CommitLineData
d3bddbb9 1PACKAGE = invalid-only-for-proof
2
3include $(ROOTSYS)/test/Makefile.arch
4include lib$(PACKAGE).pkg
5
6SRCS += G__$(PACKAGE).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) $^ -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) *.so G__$(PACKAGE).*
25
26G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
27 @echo "Generating dictionary ..."
28 rootcint -f $@ -c $(ALICEINC) $^
29