Add capn_init_malloc to provide a malloc based create function

This commit is contained in:
James McKaskill 2013-05-06 00:03:17 -04:00
parent edfcaf9d34
commit e0a5769d06
4 changed files with 60 additions and 6 deletions

View file

@ -8,5 +8,5 @@ clean:
%.o: %.c *.h *.inc
$(CC) -Wall -Werror -g -O2 -c $< -o $@
capn.so: capn.o
capn.so: capn-malloc.o capn.o
$(CC) -shared -Wall -Werror -fPIC -g -O2 $^ -o $@