# srr/test/Makefile
#
# $Id: Makefile,v 1.3 2001/07/26 18:26:53 andrew Exp $
#

usage:
	@echo "usage: make [qnx|linux|fclinux]"

qnx:
	$(CC) -Oatx ../tserver.c -o qtest
	date >> qnx.result
	on -p 16 qtest -s 4096 -t 10 | tee -a qnx.result
	cat qnx.result

linux:
	test -x ../exe/tserver || (echo no test server; exit 1)
	echo " " >> linux.result
	date >> linux.result
	uname -a >> linux.result
	../exe/tserver -s 4096  -t 10 | tee -a linux.result
	cat linux.result

CFLAGS  = -DUSE_FC -I$(FC_HOME)/include -I.
	# -D_THISIS_LINUX
LDFLAGS = -L$(FC_HOME)/lib -lqnx -lfcipc

fclinux:
	$(CC) -g -c -O3 $(CFLAGS) ../tserver.c -o fctest.o
	$(CC) -g fctest.o $(LDFLAGS) -o fctest


# DO NOT DELETE


