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 libpEvent.so |
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} |
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 |
|
|