Browse Source

Makefile: update the makefile to use node-gyp

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

6
Makefile

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