#:ts=8
#
# $Id: Makefile,v 1.6 1996-04-24 18:01:53+02 steppler Exp $
#	
# Makefile CNCL lib/misc/test
#
TOPDIR	= ../../..

include $(TOPDIR)/make.conf

FILES = Makefile tCoord.c tDouble.c tGetOpt.c tIniFile.c tInt.c \
	tString.c tStringn.c test.ini test_float.c test_int.c tRef.c \
	tParseArgs.c tParseArgs.h tParseArgs.sh

TESTS	= tCoord tString tStringn test_int test_float tInt tDouble \
	  tGetOpt tIniFile tRef tParseArgs

all:	$(TESTS)

tCoord:		tCoord.o
	$(CC) $(LFLAGS) -o tCoord tCoord.o $(LIBS)

tString:	tString.o
	$(CC) $(LFLAGS) -o tString tString.o $(LIBS)

tStringn:	tStringn.o
	$(CC) $(LFLAGS) -o tStringn tStringn.o $(LIBS)

test_int:	test_int.o
	$(CC) $(LFLAGS) -o test_int test_int.o $(LIBS)

test_float:	test_float.o
	$(CC) $(LFLAGS) -o test_float test_float.o $(LIBS)

tInt:		tInt.o
	$(CC) $(LFLAGS) -o tInt tInt.o $(LIBS)

tDouble:	tDouble.o
	$(CC) $(LFLAGS) -o tDouble tDouble.o $(LIBS)

tGetOpt:	tGetOpt.o
	$(CC) $(LFLAGS) -o tGetOpt tGetOpt.o $(LIBS)

tIniFile:	tIniFile.o
	$(CC) $(LFLAGS) -o tIniFile tIniFile.o $(LIBS)

tRef:		tRef.o
	$(CC) $(LFLAGS) -o tRef tRef.o $(LIBS)

tParseArgs:	tParseArgs.o
	$(CC) $(LFLAGS) -o tParseArgs tParseArgs.o $(LIBS)

veryclean distclean::
	rm -f $(TESTS)

# Common stuff
include $(TOPDIR)/make.common
