summaryrefslogtreecommitdiff
path: root/Examples/php/pointer/Makefile
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2008-11-22 12:35:27 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2008-11-22 12:35:27 +0000
commit4c03864ce975374f6b2e2273316d929a14aaca4f (patch)
tree69706dd97ccfe2940e086fb7ab7f72a7fc7b0cde /Examples/php/pointer/Makefile
parent905b1cf4e9a5bef329427f44b4f30c456305b79c (diff)
downloadswig-4c03864ce975374f6b2e2273316d929a14aaca4f.tar.gz
rename php4 to php
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/php/pointer/Makefile')
-rw-r--r--Examples/php/pointer/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/Examples/php/pointer/Makefile b/Examples/php/pointer/Makefile
new file mode 100644
index 000000000..caeec2d73
--- /dev/null
+++ b/Examples/php/pointer/Makefile
@@ -0,0 +1,24 @@
+TOP = ../..
+SWIG = $(TOP)/../preinst-swig
+SRCS = example.c
+TARGET = example
+INTERFACE = example.i
+LIBS =
+SWIGOPT =
+
+all::
+ $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
+ SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' \
+ php4
+
+static::
+ $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
+ SWIGOPT='$(SWIGOPT)' TARGET='myphp4' INTERFACE='$(INTERFACE)' \
+ php4_static
+
+clean::
+ $(MAKE) -f $(TOP)/Makefile php4_clean
+ rm -f $(TARGET).php
+
+check: all
+ $(MAKE) -f $(TOP)/Makefile php4_run