# DATAENGINE subdirectory Makefile

# Copyright (C) 1998  Cliff Johnson                                       #
#                                                                         #
# This program is free software; you can redistribute it and/or           #
# modify it under the terms of the GNU  General Public                    #
# License as published by the Free Software Foundation; either            #
# version 2 of the License, or (at your option) any later version.        #
#                                                                         #
# This software is distributed in the hope that it will be useful,        #
# but WITHOUT ANY WARRANTY; without even the implied warranty of          #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU       #
# General Public License for more details.                                #
#                                                                         #
# You should have received a copy of the GNU General Public License       #
# along with this software (see COPYING.LIB); if not, write to the        #
# Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #

FREEROOT=..
include $(FREEROOT)/Makefile.in

SRCS = \
engineutility.cpp \
entitybank.cpp \
handle.cpp \
bankexception.cpp \
namehandler.cpp 

OBJS = $(SRCS:%.cpp=%.o)


all : $(OBJS)

%.o : %.cpp
	$(CXX) $*.cpp  $(CFLAGS) -c

testnamehandler : testnamehandler.cpp handle.o namehandler.o 
	$(CXX) testnamehandler.cpp handle.o namehandler.o $(CFLAGS) -L../GEOMLIB2D -lGeom2D -o testnamehandler

clean : 
	rm -f testnamehandler *.o

vimclean : clean
	rm -f *~
