]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/Makefile.Calib
remove permission
[u/mrichter/AliRoot.git] / TPC / Makefile.Calib
1 PACKAGE = TPCcalib
2
3 include Makefile.arch
4 include lib$(PACKAGE).pkg
5
6 ifndef PACKCXXFLAGS
7 PACKCXXFLAGS = $(CXXFLAGS)
8 endif
9
10 SRCS         += G__$(PACKAGE).cxx
11 OBJS          = $(SRCS:.cxx=.o)
12
13 lib$(PACKAGE).so: $(OBJS)
14         @echo "Linking" $@ ...
15         @/bin/rm -f $@
16 ifeq ($(PLATFORM),macosx)
17         @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ -o $@
18 else
19         @$(LD) $(SOFLAGS) $(LDFLAGS) $^ -o $@
20 endif
21         @chmod a+x $@
22         @echo "done"
23
24 %.o:    %.cxx %.h
25         $(CXX) $(PACKCXXFLAGS)  -I$(ALICE_ROOT)/TPC  -I$(ALICE_ROOT)/STEER -I$(ALICE_ROOT)/ANALYSIS -c $< -o $@
26
27 clean:
28         @rm -f $(OBJS) *.so G__$(PACKAGE).*
29
30 G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
31         @echo "Generating dictionary ..."
32         rootcint -f $@ -c $(CINTFLAGS) $(ALICEINC)   $^
33