##################################################################
#
#   makefile
# 
#   for the MARS software
#
##################################################################
include ../Makefile.conf.$(OSTYPE)
include ../Makefile.conf.general

#
# Handling name of the Root Dictionary Files
#
CINT  = Hist

#
# Library name to creatre
#
LIB   = mhist.a

#
#  connect the include files defined in the config.mk file
#
INCLUDES = -I. -I../mbase -I../mraw -I../manalysis \
	   -I../mgui -I../mgeom -I../mdata -I../mfilter -I../mimage \
           -I../mmain -I../mmc -I../mreflector

#------------------------------------------------------------------------------

.SUFFIXES: .c .cc .cxx .h .hxx .o 

SRCFILES = MFillH.cc \
           MBinning.cc \
           MH.cc \
           MHArray.cc \
           MWeight.cc \
           MH3.cc \
           MHCamEvent.cc \
           MHPixVsTime.cc \
           MHMatrix.cc \
           MHFadcPix.cc \
           MHFadcCam.cc \
           MHStarMap.cc \
           MHEnergyTime.cc \
           MHEnergyTheta.cc \
           MHAlphaEnergyTime.cc \
           MHAlphaEnergyTheta.cc \
           MHBlindPixels.cc \
           MHEffOnTime.cc \
           MHTimeDiffTime.cc \
           MHTimeDiffTheta.cc \
           MHCompProb.cc \
           MHHadronness.cc \
           MHThetabarTime.cc \
           MHThetabarTheta.cc \
           MHGamma.cc \
           MHFlux.cc \
	   MHSigmaPixel.cc \
	   MHSigmabarTheta.cc \
	   MHSigmaTheta.cc \
	   MHTriggerLvl0.cc \
	   MHOnSubtraction.cc \
	   MHFindSignificance.cc \
	   MHCT1Supercuts.cc \
           MHCamera.cc
#           MHCurrents.cc \


SRCS    = $(SRCFILES)
HEADERS = $(SRCFILES:.cc=.h)
OBJS    = $(SRCFILES:.cc=.o) 

############################################################

all: $(LIB)

include ../Makefile.rules

clean:	rmcint rmobjs rmcore rmlib

mrproper:	clean rmbak

# @endcode








