- swig -I$(top_srcdir)/ -c++ -python enigma_python.i
- echo "#include <lib/python/python.h>" > bla.cxx
- cat enigma_python_wrap.cxx >> bla.cxx
- mv bla.cxx enigma_python_wrap.cxx
+ swig -I$(top_srcdir)/ -c++ -python -O -nortti -nothreads enigma_python.i
+ python enigma_py_patcher.py
+
+enigma.py: enigma_python_wrap.cxx
+
+CLEANFILES = enigma.py enigma_python_wrap.cxx