You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
358 B

14 years ago
14 years ago
ADDON = build/default/canvas.node
14 years ago
$(ADDON): src/*.cc
node-waf configure build \
&& ln -s $@ index.node
14 years ago
test: $(ADDON)
14 years ago
@./support/expresso/bin/expresso \
-I lib \
test/*.test.js
14 years ago
14 years ago
test-server: $(ADDON)
@node test/server.js
benchmark:
14 years ago
@node benchmarks/run.js
clean:
node-waf distclean
rm -f index.node
.PHONY: test test-server benchmark clean