# Makefile fragment
# Copyright (c) 2000 Rex Feany (laeos@xaric.org)
#
# 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 program 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 program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# *** NOTE ***
# remeber this is included by the top level makefile, so any pathnames
# _must_ be relative to the top of the source tree!
#
#
# %W%
#

ifndef REALLY_INCLUDE

all clean distclean:
	@echo "Doh, wrong directory. Lets try again"
	$(MAKE) -C .. $@
endif


tst_OBJS  = 
tst_PSRCS = tst_test.c
tst_POBJS = 
tst_BINS  = tst_test
tst_SRCS  = tst_build.c tst_flush.c tst_init.c  \
		tst_insert.c tst_remove.c tst_search.c 


PBJ += $(addprefix tst/, $(sort $(tst_POBJS)))
PRC += $(addprefix tst/, $(sort $(tst_PSRCS)))
OBJ += $(addprefix tst/, $(sort $(tst_OBJS)))
SRC += $(addprefix tst/, $(sort $(tst_SRCS)))
BIN += $(addprefix tst/, $(sort $(tst_BINS)))


tst/tst_test: tst/tst_test.o $(XPLIB)
	$(CC) $(CFLAGS) $(LDFLAGS) -o tst/tst_test tst/tst_test.o $(XPLIB)


# All done!
