21 lines
344 B
Makefile
21 lines
344 B
Makefile
all:
|
|
@type node-gyp > /dev/null 2>&1 && make gyp || make waf
|
|
|
|
waf:
|
|
node-waf configure build
|
|
|
|
gyp:
|
|
node-gyp configure
|
|
node-gyp build
|
|
|
|
clean:
|
|
@type node-gyp > /dev/null 2>&1 && make clean-gyp || make clean-waf
|
|
|
|
clean-waf:
|
|
@rm -rf ./build .lock-wscript
|
|
|
|
clean-gyp:
|
|
@node-gyp clean 2>/dev/null
|
|
|
|
.PHONY: all waf gyp clean clean-waf clean-gyp
|