forked from couchbase/couchnode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (31 loc) · 884 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
SOURCE = src/couchbase_impl.cc src/couchbase_impl.h src/notify.cc \
src/namemap.cc src/operations.cc src/namemap.h src/cas.cc \
src/cas.h
all: binding $(SOURCE)
@node-gyp build
binding: binding.gyp
@node-gyp configure
clean:
@node-gyp clean
install:
@npm install
node_modules:
@npm install
check: node_modules
(cd tests && ./runtests.sh *-*.js)
reformat:
@astyle --mode=c \
--quiet \
--style=1tbs \
--indent=spaces=4 \
--indent-namespaces \
--indent-col1-comments \
--max-instatement-indent=78 \
--pad-oper \
--pad-header \
--add-brackets \
--unpad-paren \
--align-pointer=name \
io/*.c io/*.h io/util/hexdump.c \
src/*.cc \
src/*.h