Skip to content

Commit

Permalink
Makefile: use node-gyp in the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate authored and defunctzombie committed Mar 29, 2012
1 parent 44b1037 commit 391396d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Makefile
Expand Up @@ -5,18 +5,17 @@ all: test
build: clean configure compile

configure:
node-waf configure
node-gyp configure

compile: configure
node-waf build
node-gyp build

test: build
test:
@./node_modules/nodeunit/bin/nodeunit \
$(TESTS)

clean:
rm -f bcrypt_lib.node
rm -Rf build
node-gyp clean


.PHONY: clean test build

0 comments on commit 391396d

Please sign in to comment.