Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (21 sloc) 515 Bytes
#!/bin/sh
all: build
rebuild: clean-all build
clean:
rm -rf ./build
rm -f build-stamp
clean-all: clean
rm -f dependencies-stamp
build: build-stamp dependencies
build-stamp: ./src/other/*.cc ./src/other/*.h
touch build-stamp
./build.sh
dependencies: dependencies-stamp
dependencies-stamp:
touch dependencies-stamp
npm install
lint: dependencies
./node_modules/.bin/nodelint ./bin/*
benchmark: build
./bin/node-mysql-benchmarks.js
.PHONY: all rebuild clean clean-all build lint benchmark