/[PAMELA software]/gp2root/Makefile
ViewVC logotype

Diff of /gp2root/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by cafagna, Sun Oct 22 08:26:35 2006 UTC revision 1.4 by cafagna, Sun Oct 22 09:04:43 2006 UTC
# Line 36  JUNK =$(addsuffix ~,${SRCS}) $(addsuffix Line 36  JUNK =$(addsuffix ~,${SRCS}) $(addsuffix
36  DICO =$(addsuffix Dict.o, ${CLAS})  DICO =$(addsuffix Dict.o, ${CLAS})
37  DICH =$(addsuffix Dict.h, ${CLAS})  DICH =$(addsuffix Dict.h, ${CLAS})
38    
39    all: gp2root
40    
41  testcashit: testcashit.o pAllEventDict.o ${OBJS} ${DICO}  testcashit: testcashit.o pAllEventDict.o ${OBJS} ${DICO}
42          $(LD) $(LDFLAGS) -o $@ $^ ${ROOTLIBS}          $(LD) $(LDFLAGS) -o $@ $^ ${ROOTLIBS}
# Line 57  libpEvent.so: pAllEventDict.o ${OBJS} ${ Line 58  libpEvent.so: pAllEventDict.o ${OBJS} ${
58          @echo "#pragma link off all global;" >> $@          @echo "#pragma link off all global;" >> $@
59          @echo "#pragma link C++ class `echo $@ | sed 's/LinkDef.h//'`;" >> $@          @echo "#pragma link C++ class `echo $@ | sed 's/LinkDef.h//'`;" >> $@
60    
61    pAllEventLinkDef.h: pEvent.h pDetector.h pHit.h pHeader.h
62            @echo "#pragma link off all class;" > $@
63            @echo "#pragma link off all function;" >> $@
64            @echo "#pragma link off all global;" >> $@
65            @for i in $^; do \
66                    echo "#pragma link C++ class `echo "$$i" | sed 's/.h//'`;" >> $@;\
67             done
68    
69    
70  pAllEventDict.cxx: pEvent.h pDetector.h pHit.h pHeader.h pAllEventLinkDef.h  pAllEventDict.cxx: pEvent.h pDetector.h pHit.h pHeader.h pAllEventLinkDef.h
71          rootcint -f $@ -c $^          rootcint -f $@ -c $^
72    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.23