##################################################################
#
#   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../mhist -I../mgui -I../mimage -I../mhistmc \
           -I../mfileio -I../mmain


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

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

SRCFILES = MPedestalPix.cc \
           MPedestalCam.cc \
           MMcPedestalCopy.cc \
           MMcPedestalNSBAdd.cc \
           MGeomApply.cc \
           MCurrents.cc \
           MEnergyEst.cc \
           MEnergyEstimate.cc \
           MEnergyEstParam.cc \
           MEnergyEstParamDanielMkn421.cc \
           MSrcPosCam.cc \
           MHadronness.cc \
           MMatrixLoop.cc \
           MCompProbCalc.cc \
           MMultiDimDistCalc.cc \
	   MCerPhotPix.cc \
	   MCerPhotEvt.cc \
           MCerPhotAnal.cc \
	   MCerPhotCalc.cc \
	   MPedCalcPedRun.cc \
           MBlindPixels.cc \
           MBlindPixelCalc.cc \
	   MSigmabar.cc \
	   MSigmabarParam.cc \
	   MSigmabarCalc.cc \
	   MCT1PadSchweizer.cc \
	   MCT1PointingCorrCalc.cc \
           MParameters.cc \
	   MMcTriggerLvl2.cc \
	   MMcTriggerLvl2Calc.cc \
           MCT1Supercuts.cc \
           MCT1SupercutsCalc.cc \
           MCT1FindSupercuts.cc \
           MMinuitInterface.cc \
           MFiltercutsCalc.cc
#	   MCT1PadONOFF.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
