include ../Mgr/Makefile.h
 
all: $(LIB)libHiStats.a
clean:
	rm -f $(OBJ)hisprof.o $(OBJ)histinit.o $(OBJ)histos.o $(OBJ)histos2.o $(OBJ)ntupintf.o $(OBJ)ntuple.o $(OBJ)xntuple.o
	rm -f $(LIB)libHiStats.a
$(LIB)libHiStats.a : $(OBJ)hisprof.o $(OBJ)histinit.o $(OBJ)histos.o $(OBJ)histos2.o $(OBJ)ntupintf.o $(OBJ)ntuple.o $(OBJ)xntuple.o
	$(ARCXX) $(ARCXXFLAGS) $@ $($(ARARGS))
ifeq ($(CXX),cxx)
	$(CXX) $? $(CPPFLAGS) $(CXXFLAGS) -o $(OBJ)xx.x -Hf
endif 
 
$(OBJ)hisprof.o: hisprof.cc $(INC)machdefs.h \
 hisprof.h $(INC)peida.h \
 $(INC)utils.h \
 $(INC)perrors.h \
 $(INC)pexceptions.h \
 $(INC)fmath.h \
 $(INC)tvector.h \
 $(INC)tmatrix.h \
 $(INC)tarray.h \
 $(INC)basarr.h \
 $(INC)anydataobj.h \
 $(INC)mutyv.h \
 $(INC)dvlist.h \
 $(INC)objfio.h \
 $(INC)ppersist.h \
 $(INC)gnumd5.h \
 $(INC)ndatablock.h \
 $(INC)utilarr.h histos.h
$(OBJ)histinit.o: histinit.cc $(INC)machdefs.h \
 histinit.h $(INC)ntoolsinit.h \
 $(INC)tarrinit.h \
 $(INC)sophyainit.h histos.h \
 $(INC)objfio.h \
 $(INC)anydataobj.h \
 $(INC)ppersist.h \
 $(INC)pexceptions.h \
 $(INC)gnumd5.h \
 $(INC)peida.h \
 $(INC)utils.h \
 $(INC)perrors.h \
 $(INC)fmath.h \
 $(INC)tvector.h \
 $(INC)tmatrix.h \
 $(INC)tarray.h \
 $(INC)basarr.h \
 $(INC)mutyv.h \
 $(INC)dvlist.h \
 $(INC)ndatablock.h \
 $(INC)utilarr.h histos2.h hisprof.h ntuple.h \
 ntupintf.h xntuple.h
$(OBJ)histos.o: histos.cc $(INC)machdefs.h histos.h \
 $(INC)objfio.h \
 $(INC)anydataobj.h \
 $(INC)ppersist.h \
 $(INC)pexceptions.h \
 $(INC)gnumd5.h \
 $(INC)peida.h \
 $(INC)utils.h \
 $(INC)perrors.h \
 $(INC)fmath.h \
 $(INC)tvector.h \
 $(INC)tmatrix.h \
 $(INC)tarray.h \
 $(INC)basarr.h \
 $(INC)mutyv.h \
 $(INC)dvlist.h \
 $(INC)ndatablock.h \
 $(INC)utilarr.h \
 $(INC)poly.h \
 $(INC)strutil.h
$(OBJ)histos2.o: histos2.cc $(INC)machdefs.h \
 histos2.h $(INC)peida.h \
 $(INC)utils.h \
 $(INC)perrors.h \
 $(INC)pexceptions.h \
 $(INC)fmath.h histos.h \
 $(INC)objfio.h \
 $(INC)anydataobj.h \
 $(INC)ppersist.h \
 $(INC)gnumd5.h \
 $(INC)tvector.h \
 $(INC)tmatrix.h \
 $(INC)tarray.h \
 $(INC)basarr.h \
 $(INC)mutyv.h \
 $(INC)dvlist.h \
 $(INC)ndatablock.h \
 $(INC)utilarr.h
$(OBJ)ntupintf.o: ntupintf.cc ntupintf.h \
 $(INC)machdefs.h
$(OBJ)ntuple.o: ntuple.cc $(INC)strutil.h \
 $(INC)perrors.h \
 $(INC)pexceptions.h \
 $(INC)machdefs.h ntuple.h \
 $(INC)objfio.h \
 $(INC)anydataobj.h \
 $(INC)ppersist.h \
 $(INC)gnumd5.h ntupintf.h \
 $(INC)dvlist.h \
 $(INC)mutyv.h
$(OBJ)xntuple.o: xntuple.cc $(INC)ppersist.h \
 $(INC)machdefs.h \
 $(INC)pexceptions.h \
 $(INC)gnumd5.h \
 $(INC)perrors.h xntuple.h ntupintf.h \
 $(INC)dvlist.h \
 $(INC)objfio.h \
 $(INC)anydataobj.h \
 $(INC)mutyv.h
