Skip to content

Commit

Permalink
Initial re-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mnunberg committed May 24, 2013
1 parent fc6a853 commit fc52193
Show file tree
Hide file tree
Showing 5 changed files with 658 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
@@ -0,0 +1,6 @@
*.o
*.so
test-main
*.swp
uv/*
.depend
14 changes: 14 additions & 0 deletions Makefile
@@ -0,0 +1,14 @@
LCB_HEADERS=/sources/libcouchbase/include
UV_ROOT=/sources/libuv
CPPFLAGS=-Wall -Wextra -Werror -O0 -ggdb3

all: plugin-libuv.so

plugin-libuv.so: src/plugin.c src/util.c
$(CC) $(CPPFLAGS) \
-shared -fPIC \
-o $@ \
-I$(UV_ROOT)/include \
-I$(LCB_HEADERS) \
$^ \
-L$(UV_ROOT) -Wl,-rpath=$(UV_ROOT) -luv

0 comments on commit fc52193

Please sign in to comment.