aboutsummaryrefslogtreecommitdiff
path: root/Examples/python/std_vector/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/python/std_vector/Makefile')
-rw-r--r--Examples/python/std_vector/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/Examples/python/std_vector/Makefile b/Examples/python/std_vector/Makefile
new file mode 100644
index 000000000..f00af7dba
--- /dev/null
+++ b/Examples/python/std_vector/Makefile
@@ -0,0 +1,21 @@
+TOP = ../..
+SWIG = $(TOP)/../swig
+CXXSRCS =
+TARGET = example
+INTERFACE = example.i
+LIBS = -lm
+SWIGOPT =
+
+all::
+ $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
+ SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python_cpp
+
+static::
+ $(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
+ SWIGOPT='$(SWIGOPT)' TARGET='mypython' INTERFACE='$(INTERFACE)' python_cpp_static
+
+clean::
+ $(MAKE) -f $(TOP)/Makefile python_clean
+ rm -f $(TARGET).py
+
+check: all