From 20228ce6d22e016f3da34ba6a7bcb4dd26873708 Mon Sep 17 00:00:00 2001 From: Gabor Adam Toth Date: Sun, 15 May 2011 21:20:58 +0200 Subject: [PATCH] test: make opts --- test/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/Makefile b/test/Makefile index 2987aea..c01a811 100644 --- a/test/Makefile +++ b/test/Makefile @@ -3,7 +3,6 @@ DEBUG = 2 CFLAGS = -I../include -I../src -Wall -std=c99 ${OPT} LDFLAGS = -L../lib LOADLIBES = -lpsyc -lm -LOADLIBES_NET = ${LOADLIBES} TARGETS = testPsyc testParser testMatch testRender testText isRoutingVar getVarType O = test.o WRAPPER = @@ -13,14 +12,14 @@ NC = nc DIFF = diff ifeq ($(shell uname),SunOS) - LOADLIBES_NET := ${LOADLIBES_NET} -lsocket -lnsl + LOADLIBES_NET := -lsocket -lnsl DIFF = gdiff endif all: ${TARGETS} it: all -testPsyc: LOADLIBES := ${LOADLIBES_NET} +testPsyc: LOADLIBES := ${LOADLIBES} ${LOADLIBES_NET} testPsyc: test.o diet: WRAPPER = ${DIET} @@ -67,7 +66,7 @@ pkterr: srvstart: pkill -x testPsyc; exit 0 - ./testPsyc -p ${PORT} ${srv_args} & + ./testPsyc -p ${PORT} -S ${srv_args} & srvkill: pkill -x testPsyc