$NetBSD$

--- src/Makefile.orig	2010-01-17 05:47:28.000000000 +0100
+++ src/Makefile
@@ -27,7 +27,7 @@ SCRIPTS = update.sh srTest.sh cmdIntfcTe
 ALL_FILES = ${SRC} ${HDRS} ${SCRIPTS} Makefile
 
 ord : ${OBJS}
-	g++ -g ${OBJS} -lgmp -lgmpxx -lreadline -lncurses \
+	${LIBTOOL} --mode=link ${CXX} -g ${OBJS} -lgmp -lgmpxx -lreadline -lncurses \
 		-o ord 
 
 DOC : ord
@@ -37,7 +37,7 @@ ALL : ord
 	bash update.sh
 
 TEST test.log : ord
-	time bash srTest.sh | tee test.log
+	time bash srTest.sh 2>&1 | tee test.log
 
 ##EXPORT : ${ALL_FILES}
 ##	cp ${ALL_FILES} export/src
