mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
test: make opts
This commit is contained in:
parent
4512c1ae9d
commit
f9bc1099a2
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue