##################################################################
#
#   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../mmc \
	   -I../mgui -I../mgeom -I../mdata

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

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

SRCFILES = MFillH.cc \
           MBinning.cc \
           MH.cc \
           MHArray.cc \
           MH3.cc \
           MHCerPhotEvt.cc \
           MHMatrix.cc \
           MHFadcPix.cc \
           MHFadcCam.cc \
           MHHillas.cc \
           MHHillasSrc.cc \
           MHHillasExt.cc \
           MHStarMap.cc \
           MHEnergyTime.cc \
           MHEnergyTheta.cc \
           MHMcCollectionArea.cc \
           MHAlphaEnergyTime.cc \
           MHAlphaEnergyTheta.cc \
           MHEffOnTime.cc \
           MHTimeDiffTime.cc \
           MHTimeDiffTheta.cc \
           MHCompProb.cc \
           MHHadronness.cc \
           MHMcEnergy.cc \
           MHMcEfficiency.cc \
           MHMcEfficiencyImpact.cc \
           MHMcEfficiencyEnergy.cc \
           MHMcEnergyImpact.cc \
	   MHMcRate.cc \
	   MHMcIntRate.cc \
           MHMcDifRate.cc \
           MHThetabarTime.cc \
           MHThetabarTheta.cc \
           MHMcEnergyMigration.cc \
           MHGamma.cc \
           MHFlux.cc \
	   MHSigmaPixel.cc \
	   MHSigmabarTheta.cc \
	   MHSigmaTheta.cc \
	   MHMcCT1CollectionArea.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
