##################################################################
#
#   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 = File.cc \
	   MStopwatch.cc \
           MParContainer.cc \
           MThread.cc \
	   MTimeout.cc \
           MTime.cc \
           MAstro.cc \
	   MStar.cc \
	   MStarList.cc \
           msgqueue.cc \
           MLog.cc \
           MLogManip.cc \
           MObservatory.cc \
           MGList.cc

CINTHEADERS = MStar.h \
	      MGList.h \
              MTime.h \
              MAstro.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

