include ../Mgr/Makefile.h
 
all: $(LIB)libHiStats.a
clean:
	rm -f $(OBJ)hisprof.o $(OBJ)histinit.o $(OBJ)histos.o $(OBJ)histos2.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)ntuple.o $(OBJ)xntuple.o
	$(ARCXX) $(ARCXXFLAGS) $@ $?
ifeq ($(CXX),cxx)
	$(CXX) $? $(CPPFLAGS) $(CXXFLAGS) -L$(LIB) -lHiStats -L$(EXTLIBPATH) -o $(OBJ)xx.x -Hf
endif 
 
$(OBJ)hisprof.o: hisprof.cc $(INC)/machdefs.h \
 $(INC)/pclassids.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)/ppersist.h \
 $(INC)/gnumd5.h \
 $(INC)/anydataobj.h \
 $(INC)/ndatablock.h histos.h \
 $(INC)/objfio.h
$(OBJ)histinit.o: histinit.cc $(INC)/machdefs.h \
 $(INC)/pclassids.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)/ndatablock.h histos2.h hisprof.h \
 ntuple.h $(INC)/ntupintf.h \
 $(INC)/dvlist.h xntuple.h
$(OBJ)histos.o: histos.cc $(INC)/machdefs.h \
 $(INC)/pclassids.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)/ndatablock.h \
 $(INC)/poly.h \
 $(INC)/strutil.h \
 $(INC)/generalfit.h \
 $(INC)/generaldata.h \
 $(INC)/ntupintf.h
$(OBJ)histos2.o: histos2.cc $(INC)/machdefs.h \
 $(INC)/pclassids.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)/ndatablock.h \
 $(INC)/generalfit.h \
 $(INC)/generaldata.h \
 $(INC)/ntupintf.h \
 $(INC)/poly.h
$(OBJ)ntuple.o: ntuple.cc $(INC)/strutil.h \
 $(INC)/perrors.h \
 $(INC)/pexceptions.h \
 $(INC)/machdefs.h \
 $(INC)/pclassids.h ntuple.h \
 $(INC)/objfio.h \
 $(INC)/anydataobj.h \
 $(INC)/ppersist.h \
 $(INC)/gnumd5.h \
 $(INC)/ntupintf.h \
 $(INC)/dvlist.h
$(OBJ)xntuple.o: xntuple.cc $(INC)/ppersist.h \
 $(INC)/machdefs.h \
 $(INC)/pclassids.h \
 $(INC)/pexceptions.h \
 $(INC)/gnumd5.h \
 $(INC)/perrors.h xntuple.h \
 $(INC)/objfio.h \
 $(INC)/anydataobj.h \
 $(INC)/ntupintf.h \
 $(INC)/dvlist.h
