##################################################################
#
#   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../mdata

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

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

SRCFILES = MFillH.cc \
           MBinning.cc \
           MH.cc \
           MH3.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 \
           MHEffOnTimeTime.cc \
           MHEffOnTimeTheta.cc \
           MHTimeDiffTime.cc \
           MHTimeDiffTheta.cc \
           MHCompProb.cc \
           MHHadroness.cc \
           MHMcEnergy.cc \
           MHMcEfficiency.cc \
           MHMcEfficiencyImpact.cc \
           MHMcEfficiencyEnergy.cc \
           MHMcEnergyImpact.cc \
           MHMcEnergyMigration.cc \
           MHThetabarTime.cc \
	   MHMcRate.cc \
	   MHMcIntRate.cc \
	   MHMcDifRate.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
