From 3e89a97fdb22e97c529f55380ca632dd53f18fb0 Mon Sep 17 00:00:00 2001 From: Siu Kwan Lam Date: Tue, 22 Jan 2013 15:33:50 -0600 Subject: [PATCH] Improve Makefile --- newbinding/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/newbinding/Makefile b/newbinding/Makefile index 49e244b..3996d8b 100644 --- a/newbinding/Makefile +++ b/newbinding/Makefile @@ -4,10 +4,10 @@ PYMODS = raw_ostream Type DerivedTypes LLVMContext StringRef AssemblyAnnotationW all: _api.so _capsule.so _api.so _capsule.so: api.cpp capsule.cpp - python setup.py build_ext --inplace + $(PYTHON) setup.py build_ext --inplace api.cpp api.py: src/*.py include/llvm_binding/*.h - python gen.py api src $(PYMODS) + $(PYTHON) gen.py api src $(PYMODS) clean: cleantemp rm -f _api.so _capsule.so @@ -18,6 +18,6 @@ cleantemp: check: _api.so api.py - python test2.py + $(PYTHON) test2.py @PHONY: all clean check