summaryrefslogtreecommitdiff
path: root/Examples/perl5/pointer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/perl5/pointer/Makefile')
-rw-r--r--Examples/perl5/pointer/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Examples/perl5/pointer/Makefile b/Examples/perl5/pointer/Makefile
new file mode 100644
index 0000000..ce2bbb5
--- /dev/null
+++ b/Examples/perl5/pointer/Makefile
@@ -0,0 +1,18 @@
+TOP = ../..
+SWIG = $(TOP)/../preinst-swig
+SRCS = example.c
+TARGET = example
+INTERFACE = example.i
+SWIGOPT =
+all::
+ $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
+ SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' perl5
+
+static::
+ $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
+ SWIGOPT='$(SWIGOPT)' TARGET='myperl' INTERFACE='$(INTERFACE)' perl5_static
+
+clean::
+ $(MAKE) -f $(TOP)/Makefile perl5_clean
+
+check: all