mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
fixes for inline functions, c99 mode, formatting
This commit is contained in:
parent
09e8943afe
commit
259b51966c
14 changed files with 368 additions and 295 deletions
|
@ -1,6 +1,6 @@
|
|||
OPT = -O2
|
||||
DEBUG = 2
|
||||
CFLAGS = -I../include -Wall ${OPT}
|
||||
CFLAGS = -I../include -Wall -std=c99 ${OPT}
|
||||
LDFLAGS = -L../lib
|
||||
LOADLIBES = -lpsyc -lm
|
||||
TARGETS = testServer testParser testMatch testRender testText isRoutingVar getVarType
|
||||
|
@ -20,10 +20,13 @@ debug: all
|
|||
test: ${TARGETS}
|
||||
./testRender
|
||||
./testMatch
|
||||
./testText
|
||||
./isRoutingVar
|
||||
./getVarType
|
||||
for f in packets/full-*; do echo ">> $$f"; ./testParser $$f; done
|
||||
|
||||
testServer: CFLAGS := $(subst -std=c99,,${CFLAGS})
|
||||
|
||||
netstart:
|
||||
./testServer ${PORT}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue