Skip to content

Commit

Permalink
simplify makefile wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Jun 25, 2014
1 parent 76f3ee8 commit 377a625
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@

all: mapnik.node

./node_modules/mapnik-vector-tile:
npm install mapnik-vector-tile sphericalmercator mocha
./node_modules:
npm install --build-from-source

./node_modules/.bin/node-pre-gyp:
npm install node-pre-gyp

mapnik.node: ./node_modules/.bin/node-pre-gyp ./node_modules/mapnik-vector-tile
mapnik.node: ./node_modules
./node_modules/.bin/node-pre-gyp build --loglevel=silent

verbose:
./node_modules/.bin/node-pre-gyp rebuild --loglevel=verbose

clean:
@rm -rf ./build
rm -rf lib/binding
rm ./test/tmp/*
rm -rf ./node_modules
echo > ./test/tmp/placeholder.txt

grind:
valgrind --leak-check=full node node_modules/.bin/_mocha

rebuild:
@make clean
@./configure
@make

ifndef only
Expand Down

0 comments on commit 377a625

Please sign in to comment.