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

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

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

#
#  connect the include files defined in the config.mk file
#
INCLUDES = -I. -I../mbase -I../MBase

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

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

SRCFILES = MGeomPix.cc \
           MGeomCam.cc \
           MGeomCamCT1.cc \
           MGeomCamCT1Daniel.cc \
           MGeomCamMagic.cc \
           MGeomCamMagicHG.cc \
           MGeomCamMagic919.cc \
           MGeomCamECO1000.cc \
           MGeomCamECO1000HG.cc \
           MGeomCorsikaCT.cc \
	   MGeomMirror.cc \
	   MGeomPMT.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

