diff options
Diffstat (limited to 'node_modules/mongodb/external-libs/bson/Makefile')
| -rw-r--r-- | node_modules/mongodb/external-libs/bson/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/node_modules/mongodb/external-libs/bson/Makefile b/node_modules/mongodb/external-libs/bson/Makefile new file mode 100644 index 0000000..ad877d4 --- /dev/null +++ b/node_modules/mongodb/external-libs/bson/Makefile @@ -0,0 +1,45 @@ +NODE = node +name = all +JOBS = 1 + +all: + rm -rf build .lock-wscript bson.node + node-waf configure build + cp -R ./build/Release/bson.node . || true + @$(NODE) --expose-gc test/test_bson.js + @$(NODE) --expose-gc test/test_full_bson.js + # @$(NODE) --expose-gc test/test_stackless_bson.js + +all_debug: + rm -rf build .lock-wscript bson.node + node-waf --debug configure build + cp -R ./build/Release/bson.node . || true + @$(NODE) --expose-gc test/test_bson.js + @$(NODE) --expose-gc test/test_full_bson.js + # @$(NODE) --expose-gc test/test_stackless_bson.js + +test: + @$(NODE) --expose-gc test/test_bson.js + @$(NODE) --expose-gc test/test_full_bson.js + # @$(NODE) --expose-gc test/test_stackless_bson.js + +clang: + rm -rf build .lock-wscript bson.node + CXX=clang node-waf configure build + cp -R ./build/Release/bson.node . || true + @$(NODE) --expose-gc test/test_bson.js + @$(NODE) --expose-gc test/test_full_bson.js + # @$(NODE) --expose-gc test/test_stackless_bson.js + +clang_debug: + rm -rf build .lock-wscript bson.node + CXX=clang node-waf --debug configure build + cp -R ./build/Release/bson.node . || true + @$(NODE) --expose-gc test/test_bson.js + @$(NODE) --expose-gc test/test_full_bson.js + # @$(NODE) --expose-gc test/test_stackless_bson.js + +clean: + rm -rf build .lock-wscript bson.node + +.PHONY: all
\ No newline at end of file |
