summaryrefslogtreecommitdiff
path: root/Examples/python/std_map/Makefile
diff options
context:
space:
mode:
authorMarcelo Matus <mmatus@acms.arizona.edu>2006-01-08 07:00:51 +0000
committerMarcelo Matus <mmatus@acms.arizona.edu>2006-01-08 07:00:51 +0000
commita80ac86316235859324dbab6fdad01d9d6252102 (patch)
tree9e34ce2f1671ddaf9deec507a9574d1384297881 /Examples/python/std_map/Makefile
parentcf431d3b47c574f5bde9908ad548a91f0057e0d5 (diff)
downloadswig-a80ac86316235859324dbab6fdad01d9d6252102.tar.gz
add std_map example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/python/std_map/Makefile')
-rw-r--r--Examples/python/std_map/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/Examples/python/std_map/Makefile b/Examples/python/std_map/Makefile
new file mode 100644
index 000000000..2d4c1b4a3
--- /dev/null
+++ b/Examples/python/std_map/Makefile
@@ -0,0 +1,24 @@
+TOP = ../..
+SWIG = $(TOP)/../preinst-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
+
+run:
+ python runme.py
+
+check: all