summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index 12eaa300..42399c59 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -17,8 +17,8 @@ else
_lasso_la_LDFLAGS = -no-undefined -module -avoid-version
endif
endif
-lasso_wrap.c lasso.py: $(top_srcdir)/swig/Lasso.i $(top_srcdir)/swig/Lasso-wsf.i \
- $(top_srcdir)/swig/inheritance.h
+SWIG_I_FILES=$(shell find $(top_srcdir)/swig/ -name '*.[ih]')
+lasso_wrap.c lasso.py: $(SWIG_I_FILES)
$(SWIG) -v -python -module lasso -o lasso_wrap.c $(top_srcdir)/swig/Lasso.i
cp lasso_wrap.c lasso_wrap.c.bak
sed -e 's/^ int res = 0;$$//' \