summaryrefslogtreecommitdiff
path: root/Examples/ruby/std_vector
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2013-04-13 22:45:18 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2013-04-19 22:47:26 +0100
commitbdf38a8507838ea0f4056d72b4a95ad718651bc8 (patch)
tree54603cc59d67d187e55f275cbc4b1a50e2678c4a /Examples/ruby/std_vector
parentdbd86d3747b35445e29259d3e2301eb6aaf4c4eb (diff)
downloadswig-bdf38a8507838ea0f4056d72b4a95ad718651bc8.tar.gz
Ruby examples makefiles and use RUNPIPE and tidyup
Diffstat (limited to 'Examples/ruby/std_vector')
-rw-r--r--Examples/ruby/std_vector/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Examples/ruby/std_vector/Makefile b/Examples/ruby/std_vector/Makefile
index 15c9d705f..f7b148062 100644
--- a/Examples/ruby/std_vector/Makefile
+++ b/Examples/ruby/std_vector/Makefile
@@ -6,15 +6,16 @@ INTERFACE = example.i
LIBS = -lm
SWIGOPT =
-all::
+check: build
+ $(MAKE) -f $(TOP)/Makefile ruby_run
+
+build:
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' ruby_cpp
-static::
+static:
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
SWIGOPT='$(SWIGOPT)' TARGET='myruby' INTERFACE='$(INTERFACE)' ruby_cpp_static
-clean::
+clean:
$(MAKE) -f $(TOP)/Makefile ruby_clean
-
-check: all