1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

test: make opts

This commit is contained in:
Gabor Adam Toth 2011-05-15 21:20:58 +02:00
parent 8d86238305
commit 20228ce6d2

View file

@ -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