summaryrefslogtreecommitdiffstats
path: root/src/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/bindings/Makefile.am b/src/bindings/Makefile.am
index 8935eebb..083cb5a6 100644
--- a/src/bindings/Makefile.am
+++ b/src/bindings/Makefile.am
@@ -14,15 +14,17 @@ libingen_bindings_la_SOURCES = ingen_wrap.cxx
swig: ingen.i
swig -c++ -Wall $(FLAGS) -python ingen.i
+ingen_wrap.cxx: swig
+
libingen_bindings_la: swig ingen_wrap.cxx
-all-local:
+all-local: swig
ln -sf .libs/libingen_bindings.so _ingen.so
#libtool --mode=compile g++ -fPIC -shared $(CXXFLAGS) $(FLAGS) $(LIBS) -I/usr/include/python2.4 ingen_wrap.cxx -o libingen_python.so.0.0.0
endif
clean-local:
- rm *.cxx
- rm *.so
- rm *.o
+ rm -f *.cxx
+ rm -f *.so
+ rm -f *.o