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

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

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

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