##################################################################
#
#   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 

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

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

SRCFILES = MPedestalPix.cc \
           MPedestalCam.cc \
           MMcPedestalCopy.cc \
           MMcPedestalNSBAdd.cc \
           MImgCleanStd.cc \
           MEnergyEst.cc \
           MEnergyEstimate.cc \
           MSrcPosCam.cc \
           MCameraSmooth.cc \
           MHadroness.cc \
           MCompProbCalc.cc \
           MMultiDimDistCalc.cc \
           MHillas.cc \
           MHillasSrc.cc \
           MHillasExt.cc \
           MHillasCalc.cc \
           MHillasSrcCalc.cc \
	   MCerPhotPix.cc \
	   MCerPhotEvt.cc \
           MCerPhotAnal.cc \
	   MCerPhotCalc.cc \
	   MCerPhotCalc2.cc \
	   MPedCalcPedRun.cc \
           MBlindPixels.cc \
           MBlindPixelCalc.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
