summaryrefslogtreecommitdiff
path: root/Examples/python/pointer/Makefile
diff options
context:
space:
mode:
authorDave Beazley <dave-swig@dabeaz.com>2000-09-02 19:26:03 +0000
committerDave Beazley <dave-swig@dabeaz.com>2000-09-02 19:26:03 +0000
commit44f7039d7dd0bb4324d322304358b14802a72c3d (patch)
tree399190cb41d9da287812e810d23cde385157e4e9 /Examples/python/pointer/Makefile
parent5e64031ebe789987924ff7c069e42d6981656f49 (diff)
downloadswig-44f7039d7dd0bb4324d322304358b14802a72c3d.tar.gz
new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/python/pointer/Makefile')
-rw-r--r--Examples/python/pointer/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Examples/python/pointer/Makefile b/Examples/python/pointer/Makefile
new file mode 100644
index 000000000..e495cfa9a
--- /dev/null
+++ b/Examples/python/pointer/Makefile
@@ -0,0 +1,18 @@
+TOP = ../..
+SWIG = $(TOP)/../swig
+SRCS = example.c
+TARGET = example
+INTERFACE = example.i
+
+all::
+ $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
+ TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' python
+
+static::
+ $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
+ TARGET='mypython' INTERFACE='$(INTERFACE)' python_static
+
+clean::
+ rm -f *_wrap* *.o *~ *.so mypython *.pyc .~* core
+
+check: all