Octave examples clean target fixed and makefiles use new RUNPIPE and general consistency tidyup

This commit is contained in:
William S Fulton 2013-04-13 00:28:26 +01:00
commit 14a89fac86
17 changed files with 101 additions and 116 deletions

View file

@ -4,19 +4,19 @@ SRCS = example.c
TARGET = example
INTERFACE = example.i
all::
check: build
$(MAKE) -f $(TOP)/Makefile octave_run
build:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' SWIGOPT='-module $$(TARGET)' INTERFACE='$(INTERFACE)' octave
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)2' SWIGOPT='-module $$(TARGET) -globals .' INTERFACE='$(INTERFACE)' octave
static::
static:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='myoctave' INTERFACE='$(INTERFACE)' octave_static
clean::
clean:
$(MAKE) -f $(TOP)/Makefile octave_clean
rm -f $(TARGET).m
check: all
$(MAKE) -f $(TOP)/Makefile octave_run