##################################################################
#
#   makefile
# 
#   for the MARS software
#
##################################################################
# @maintitle

# @code

#
#  please change all system depend values in the 
#  config.mk.${OSTYPE} file 
#
#
include ../Makefile.conf.$(OSTYPE)
include ../Makefile.conf.general

# @endcode 

INCLUDES = -I. -I..

# @code 

CINT     = Base
LIB      = base.a

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

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

SRCFILES = MStopwatch.cc \
           MParContainer.cc \
           MThread.cc \
	   MTimeout.cc \
           MTime.cc \
           MString.cc \
	   MStar.cc \
	   MStarList.cc \
           MAstro.cc \
           MAstroCatalog.cc \
           MAstroCamera.cc \
           MAstroSky2Local.cc \
           MGeomMirror.cc \
           MGeomPix.cc \
           MGeomCam.cc \
           MGeomCamMagic.cc \
           MGMap.cc \
           MGMenu.cc \
           MH.cc \
           MBinning.cc \
           MHexagon.cc \
           MCamEvent.cc \
           MHCamera.cc \
           msgqueue.cc \
           MLog.cc \
           MLogManip.cc \
           MObservatory.cc \
           MGList.cc

CINTHEADERS = MStar.h \
	      MGList.h \
              MTime.h \
              MString.h \
              MAstro.h \
              MAstroSky2Local.h \
              MAstroCatalog.h \
              MAstroCamera.h \
	      MGeomMirror.h \
	      MGeomPix.h \
	      MGeomCam.h \
              MGeomCamMagic.h \
 	      MHCamera.h \
              MBinning.h \
              MH.h \
              MGMap.h \
              MGMenu.h \
              MHexagon.h \
              MCamEvent.h \
	      MLog.h \
	      MLogManip.h \
              MObservatory.h \
              MParContainer.h

SRCS    = $(SRCFILES)
HEADERS = $(SRCFILES:.cc=.h)
OBJS    = $(SRCFILES:.cc=.o) 

############################################################

all: $(LIB)

include ../Makefile.rules

clean:	rmlib rmcint rmobjs rmcore

mrproper:	clean rmbak

# @endcode

