From 089c825b0cdd89384b639f1f1b233f8aab59074d Mon Sep 17 00:00:00 2001 From: Siu Kwan Lam Date: Tue, 22 Jan 2013 11:50:39 -0600 Subject: [PATCH] Add cleantemp rule in Makefile --- newbinding/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/newbinding/Makefile b/newbinding/Makefile index 0db1f29..77a012b 100644 --- a/newbinding/Makefile +++ b/newbinding/Makefile @@ -8,9 +8,13 @@ _api.so _capsule.so: api.cpp capsule.cpp api.cpp api.py: src/*.py include/llvm_binding/*.h python gen.py api src $(PYMODS) -clean: +clean: cleantemp rm -f _api.so _capsule.so + +cleantemp: rm -f api.cpp api.py + rm -f src/*.pyc + check: _api.so api.py python test2.py