summaryrefslogtreecommitdiff
path: root/Examples/perl5/reference
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2013-04-13 00:50:19 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2013-04-19 22:47:26 +0100
commit92ffedceb50188d309dfc9587dc0f83b31020209 (patch)
tree546be8e6ceefaa09c67306dd3707876d60b1e657 /Examples/perl5/reference
parent14a89fac86129a1d876cdc253d82046ea6fd1a0a (diff)
downloadswig-92ffedceb50188d309dfc9587dc0f83b31020209.tar.gz
Perl examples makefiles clean target fixed and use RUNPIPE and tidyup
Diffstat (limited to 'Examples/perl5/reference')
-rw-r--r--Examples/perl5/reference/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Examples/perl5/reference/Makefile b/Examples/perl5/reference/Makefile
index 4a804258b..d33dd89fe 100644
--- a/Examples/perl5/reference/Makefile
+++ b/Examples/perl5/reference/Makefile
@@ -6,15 +6,16 @@ INTERFACE = example.i
LIBS = -lm
SWIGOPT = -noproxy
-all::
+check: build
+ $(MAKE) -f $(TOP)/Makefile perl5_run
+
+build:
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' SWIGOPT='$(SWIGOPT)' perl5_cpp
-static::
+static:
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
TARGET='myperl' INTERFACE='$(INTERFACE)' SWIGOPT='$(SWIGOPT)' perl5_cpp_static
-clean::
+clean:
$(MAKE) -f $(TOP)/Makefile perl5_clean
-
-check: all