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

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

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

SRCFILES = MPedestalPix.cc \
           MPedestalCam.cc \
           MMcPedestalCopy.cc \
           MMcPedestalNSBAdd.cc \
           MImgCleanStd.cc \
           MEnergyEst.cc \
           MEnergyEstimate.cc \
           MEnergyEstParam.cc \
           MSrcPosCam.cc \
           MCameraSmooth.cc \
           MHadronness.cc \
           MMatrixLoop.cc \
           MCompProbCalc.cc \
           MMultiDimDistCalc.cc \
           MHillas.cc \
           MHillasSrc.cc \
           MHillasExt.cc \
           MHillasCalc.cc \
           MHillasSrcCalc.cc \
	   MCerPhotPix.cc \
	   MCerPhotEvt.cc \
           MCerPhotAnal.cc \
	   MCerPhotCalc.cc \
	   MPedCalcPedRun.cc \
           MBlindPixels.cc \
           MBlindPixelCalc.cc \
	   MSigmabar.cc \
	   MSigmabarParam.cc \
	   MSigmabarCalc.cc \
	   MPadding.cc \
	   MMcTriggerLvl2.cc \
           MMcTriggerLvl2Calc.cc\
	   MPadSchweizer.cc \
	   MSelBasic.cc \
	   MSelStandard.cc \
	   MSelFinal.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
