Browse Source

Makefile: update the makefile to use node-gyp

v1.x
Nathan Rajlich 13 years ago
parent
commit
38a157c310
  1. 8
      Makefile

8
Makefile

@ -1,9 +1,9 @@
ADDON = build/default/canvas.node
ADDON = build/Release/canvas.node
REPORTER = dot
$(ADDON): src/*.cc
node-waf configure build
node-gyp configure build
test: $(ADDON)
@./node_modules/.bin/mocha \
@ -19,6 +19,6 @@ benchmark:
@node benchmarks/run.js
clean:
node-waf distclean
node-gyp clean
.PHONY: test test-server benchmark clean
.PHONY: test test-server benchmark clean

Loading…
Cancel
Save