ADDON = build/Release/canvas.node REPORTER = dot $(ADDON): src/*.cc node-gyp rebuild test: $(ADDON) @./node_modules/.bin/mocha \ --reporter $(REPORTER) \ --ui exports \ --require should \ test/*.test.js test-server: $(ADDON) @node test/server.js benchmark: @node benchmarks/run.js clean: node-gyp clean .PHONY: test test-server benchmark clean