Skip to content

Commit

Permalink
makefile wrapper fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Aug 6, 2014
1 parent 2bb70e4 commit b557910
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#http://www.gnu.org/prep/standards/html_node/Standard-Targets.html#Standard-Targets

all: mapnik.node
all: build

./node_modules:
npm install --build-from-source

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

debug:
Expand All @@ -16,10 +16,10 @@ verbose:

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

grind:
valgrind --leak-check=full node node_modules/.bin/_mocha
Expand All @@ -38,15 +38,4 @@ endif

check: test

fix:
@fixjsstyle lib/*js bin/*js test/*js examples/*/*.js examples/*/*/*.js

fixc:
@tools/fix_cpp_style.sh
@rm src/*.*~

lint:
@./node_modules/.bin/jshint lib/*js bin/*js test/*js examples/*/*.js examples/*/*/*.js


.PHONY: test lint fix
.PHONY: test clean build

0 comments on commit b557910

Please sign in to comment.