# Makefile for testIdent 
#
# (template Makefile for simple targets)
#
# Core Library, $Id: Makefile,v 1.7 2004/11/10 21:16:25 exact Exp $

include ../Make.options

#=================================================
# Define target files (put all your files here)
#=================================================
TARGETS= testIdent 
MORETARGETS= testBound

all: $(TARGETS)

test: $(TARGETS)
	./testIdent

moretest: $(TARGETS) $(MORETARGETS)
	./testBound
	./testIdent 1
	./testBound 1

testIdent: testIdent.o

testBound: testBound.o

#=================================================
# Rules
#=================================================
%: %.o
	${CXX} $(LDFLAGS) $< $(CORE_LIB) -o $@

.cpp.o:
	${CXX} -c $(CXXFLAGS) $(CORE_INC) $< -o $@

#=================================================
# Clean object files
#=================================================
clean:
	-@test -z "*.o" || rm -f *.o

#=================================================
# Remove executable files
#=================================================
EXEPROGS=$(TARGETS:=$(EXETYPE))

veryclean: clean
	-@test -z "$(EXEPROGS)" || rm -f $(EXEPROGS)

