@ -38,6 +38,10 @@ uninstall:
rm -f $(PREFIX)/lib/librapidaxx.so*
rm -rf $(PREFIX)/include/rapida
#target Examples
examples: all
cd $@ && make
#target Shared C library
librapida.so: $(COBJ)
$(CC) -shared $^ -o $@ $(LDFLAGS)
@ -11,9 +11,6 @@ int rpd_query_parse(rpd_keyval *dest, const char *src)
{
int len = count_char_entries(src, '=');
if (!len) {
if (dest->items) {
free(dest->items);
}
dest->items = NULL;
dest->capacity = 0;
dest->size = 0;
@ -1,4 +1,4 @@
VERSION=0.2.0
VERSION=0.2.1
#arg Installation prefix
PREFIX=/usr/local
@ -0,0 +1,4 @@
c/*
cxx/*
!c/*.c*
!cxx/*.c*