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.c
TARGET = example
INTERFACE = example.i
all::
check: build
$(MAKE) -f $(TOP)/Makefile scilab_run
build:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' scilab
clean::
clean:
$(MAKE) -f $(TOP)/Makefile scilab_clean
rm -f *.sce *.so lib*lib.c *_wrap.c
check: all
$(MAKE) -f $(TOP)/Makefile scilab_run