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
346 B
23 lines
346 B
6 years ago
|
|
||
|
all: tripcode.node
|
||
|
|
||
|
tripcode.node: build tripcode.cc
|
||
|
node-gyp build
|
||
|
@cp build/Release/$@ $@
|
||
|
|
||
|
build: binding.gyp
|
||
|
node-gyp configure
|
||
|
|
||
|
# Legacy build method: `make waf`
|
||
|
waf: .build
|
||
|
node-waf build
|
||
|
@cp .build/*/tripcode.node tripcode.node
|
||
|
|
||
|
.build: wscript
|
||
|
node-waf configure
|
||
|
|
||
|
.PHONY: all clean waf
|
||
|
|
||
|
clean:
|
||
|
rm -rf -- .build build tripcode.node
|