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

@ -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