Makefile 260 B

12345678910111213141516171819202122
  1. TESTS = test/*.js
  2. all: test
  3. build: clean configure compile
  4. configure:
  5. node-gyp configure
  6. compile: configure
  7. node-gyp build
  8. npm install .
  9. test: build
  10. @./node_modules/nodeunit/bin/nodeunit \
  11. $(TESTS)
  12. clean:
  13. node-gyp clean
  14. .PHONY: clean test build