Pass capn_ptr by value, better handling of tags
This commit is contained in:
parent
3a235fe8c6
commit
b8da11676a
10 changed files with 1236 additions and 438 deletions
5
Makefile
5
Makefile
|
|
@ -1,6 +1,7 @@
|
|||
.PHONY: all clean test
|
||||
|
||||
CFLAGS=-g -Wall -Werror -fPIC -I. -Wno-unused-function
|
||||
LDFLAGS=-g -Wall -Werror -fPIC
|
||||
CFLAGS=-g -Wall -Werror -fPIC -I. -Wno-unused-function -ansi -pedantic
|
||||
|
||||
all: capn.so test
|
||||
|
||||
|
|
@ -11,7 +12,7 @@ clean:
|
|||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
capn.so: capn-malloc.o capn-stream.o capn.o
|
||||
$(CC) -shared $(CFLAGS) $^ -o $@
|
||||
$(CC) -shared $(LDFLAGS) $^ -o $@
|
||||
|
||||
test: capn-test
|
||||
./capn-test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue