summaryrefslogtreecommitdiff
path: root/Examples/python/exceptshadow/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/python/exceptshadow/Makefile')
-rw-r--r--Examples/python/exceptshadow/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/Examples/python/exceptshadow/Makefile b/Examples/python/exceptshadow/Makefile
new file mode 100644
index 000000000..f00af7dba
--- /dev/null
+++ b/Examples/python/exceptshadow/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