Ruby examples makefiles and use RUNPIPE and tidyup

This commit is contained in:
William S Fulton 2013-04-13 22:45:18 +01:00
commit bdf38a8507
24 changed files with 145 additions and 119 deletions

View file

@ -6,15 +6,16 @@ INTERFACE = example.i
LIBS = -lm
SWIGOPT =
all::
check: build
$(MAKE) -f $(TOP)/Makefile ruby_run
build:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
SWIGOPT='$(SWIGOPT)' 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