Skip to content

Commit

Permalink
fix makefile: clean target
Browse files Browse the repository at this point in the history
  • Loading branch information
hansent committed Sep 25, 2012
1 parent 1bcb82e commit 819e624
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ PYTHON = python

.PHONY: build force clean distclean

.DEFAULT: build

build:
$(PYTHON) setup.py build_ext --inplace

Expand All @@ -13,11 +15,8 @@ install:

clean:
-rm -rf build
-find p2t.so
-find . -iname '*.pyc' -exec rm {} \;
-find . -iname '*.pyo' -exec rm {} \;
-rm src/p2t.cpp
-rm p2t.so

distclean: clean
-git clean -dxf


0 comments on commit 819e624

Please sign in to comment.