llvmpy/newbinding/Makefile
Siu Kwan Lam a12c4da93d Init commit for work on new binding
This contains the foundation for the new binding as well as early work on Module and Type.
2013-02-05 13:47:32 -06:00

18 lines
417 B
Makefile

PYMODS = _Debug raw_ostream Type DerivedTypes LLVMContext StringRef AssemblyAnnotationWriter Module
all: _api.so _capsule.so
_api.so _capsule.so: api.cpp capsule.cpp
python setup.py build_ext --inplace
api.cpp api.py: binding/*.py include/llvm_binding/*.h
cd binding; python gen.py api $(PYMODS)
mv binding/api.cpp api.cpp
mv binding/api.py api.py
clean:
rm -f _api.so _capsule.so
rm -f api.cpp api.py