Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/colorsc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'colorsc/Makefile')
-rw-r--r--colorsc/Makefile11
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
+