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

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

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

#
#  connect the include files defined in the config.mk file
#
INCLUDES = -I. -I../mbase -I../mmc -I../mraw -I../mgeom -I../mfilter \
	   -I../mdata -I../mhbase -I../mhist -I../mgui -I../mimage   \
           -I../mhistmc -I../mfileio -I../mmain -I../mcalib          \
           -I../msignal -I../mpointing -I../mtools -I../mfbase       \
           -I../mbadpixels -I../mastro -I../mpedestal
# mcalib: MGeomApply (MCalibrationCam)

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

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

SRCFILES = MHPedestalPix.cc \
           MHPedestalCam.cc \
           MGeomApply.cc \
           MCameraData.cc \
           MEnergyEst.cc \
           MEnergyEstimate.cc \
           MEnergyEstParam.cc \
           MEnergyEstParamDanielMkn421.cc \
           MHadronness.cc \
           MMatrixLoop.cc \
           MCompProbCalc.cc \
           MMultiDimDistCalc.cc \
	   MCerPhotPix.cc \
	   MCerPhotEvt.cc \
           MCerPhotAnal.cc \
           MCerPhotAnal2.cc \
	   MCerPhotCalc.cc \
           MBlindPixels.cc \
           MBlindPixelCalc.cc \
           MBlindPixelsCalc2.cc \
           MEventRate.cc \
           MEventRateCalc.cc \
	   MSigmabar.cc \
	   MSigmabarParam.cc \
	   MSigmabarCalc.cc \
	   MCT1PadSchweizer.cc \
	   MCT1PointingCorrCalc.cc \
           MParameters.cc \
	   MMcTriggerLvl2.cc \
	   MMcTriggerLvl2Calc.cc \
           MCT1Supercuts.cc \
           MCT1SupercutsCalc.cc \
           MCT1FindSupercuts.cc \
           MSupercuts.cc \
           MSupercutsCalc.cc \
           MFindSupercuts.cc \
           MMinuitInterface.cc \
           MFiltercutsCalc.cc \
           MCT1PadONOFF.cc  \
           MPad.cc  \
           MPedestalWorkaround.cc \
           MSourcePosfromStarPos.cc \
           MMcCalibrationUpdate.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
