summaryrefslogtreecommitdiff
path: root/Examples/ruby/value
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/value
parentdbd86d3747b35445e29259d3e2301eb6aaf4c4eb (diff)
downloadswig-bdf38a8507838ea0f4056d72b4a95ad718651bc8.tar.gz
Ruby examples makefiles and use RUNPIPE and tidyup
Diffstat (limited to 'Examples/ruby/value')
-rw-r--r--Examples/ruby/value/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Examples/ruby/value/Makefile b/Examples/ruby/value/Makefile
index 8c4fe1064..ddbc1ae30 100644
--- a/Examples/ruby/value/Makefile
+++ b/Examples/ruby/value/Makefile
@@ -4,15 +4,16 @@ SRCS = example.c
TARGET = example
INTERFACE = example.i
-all::
+check: build
+ $(MAKE) -f $(TOP)/Makefile ruby_run
+
+build:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' ruby
-static::
+static:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='myruby' INTERFACE='$(INTERFACE)' ruby_static
-clean::
+clean:
$(MAKE) -f $(TOP)/Makefile ruby_clean
-
-check: all