diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-18 03:58:55 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-20 00:03:07 (GMT) |
commit | b999a05ad78264d6b7975bf39c8297f36a514ed1 (patch) | |
tree | 9d635b80737206ccea9aa7e448910b93760116a9 /colorsc/Makefile | |
parent | 25ddc1089bb0950d2d8a8cec8a62acb1a9469ec2 (diff) |
Add Makefile to build binary package in convenient way
Diffstat (limited to 'colorsc/Makefile')
-rw-r--r-- | colorsc/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/colorsc/Makefile b/colorsc/Makefile new file mode 100644 index 0000000..3b0055b --- /dev/null +++ b/colorsc/Makefile @@ -0,0 +1,11 @@ +all: _colorsc.so + +clean: + rm -rf _colorsc.so *_wrap.cxx colorsc.py colorsc.pyc build + +%_wrap.cxx: %.i + swig -c++ -python $< + +_colorsc.so: colorsc_wrap.cxx colorsc.h canvas.h canvas.cpp + python setup.py build_ext --inplace + |