Scilab example Makefiles update.

Make consistent with other languages.
Output is also suppressed when run from top level directory - see
RUNPIPE.
This commit is contained in:
William S Fulton 2013-08-30 23:53:57 +01:00
commit 05cc859d38
17 changed files with 71 additions and 103 deletions

View file

@ -4,14 +4,12 @@ SRCS = example.cpp
TARGET = example
INTERFACE = example.i
all: check
check: build
$(MAKE) -f $(TOP)/Makefile scilab_run
loader.sce:
build:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' scilab_cpp
clean:
$(MAKE) -f $(TOP)/Makefile scilab_clean
check: loader.sce
$(MAKE) -f $(TOP)/Makefile scilab_run