Scilab: take in account TARGET in example makefile, fix target in examples sub makefiles
This commit is contained in:
parent
360a565f7c
commit
7a81f55ac9
17 changed files with 21 additions and 18 deletions
|
|
@ -1587,6 +1587,9 @@ define get_swig_scilab_args
|
||||||
ifdef INCLUDES
|
ifdef INCLUDES
|
||||||
SWIG_SCILAB_ARGS += -addcflag "$(INCLUDES)"
|
SWIG_SCILAB_ARGS += -addcflag "$(INCLUDES)"
|
||||||
endif
|
endif
|
||||||
|
ifdef TARGET
|
||||||
|
SWIG_SCILAB_ARGS += -o "$(TARGET)"
|
||||||
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# ----------------------------------------------------------------
|
# ----------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
SRCS = example.cxx
|
SRCS = example.cxx
|
||||||
TARGET = example
|
TARGET = example_wrap.cxx
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
|
|
||||||
check: build
|
check: build
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
SRCS = example.i
|
SRCS =
|
||||||
TARGET = example
|
TARGET = example_wrap.c
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
|
|
||||||
check: build
|
check: build
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
SRCS = example.c
|
SRCS = example.c
|
||||||
TARGET = example
|
TARGET = example_wrap.c
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
|
|
||||||
check: build
|
check: build
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
SRCS = example.c
|
SRCS = example.c
|
||||||
TARGET = example
|
TARGET = example_wrap.c
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
|
|
||||||
check: build
|
check: build
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
SRCS = example.c
|
SRCS = example.c
|
||||||
TARGET = example
|
TARGET = example_wrap.c
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
|
|
||||||
check: build
|
check: build
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
SRCS = example.c
|
SRCS = example.c
|
||||||
TARGET = example
|
TARGET = example_wrap.c
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
|
|
||||||
check: build
|
check: build
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
SRCS = matrixlib.c
|
SRCS = matrixlib.c
|
||||||
TARGET = matrixlib
|
TARGET = matrixlib_wrap.c
|
||||||
INTERFACE = matrixlib.i
|
INTERFACE = matrixlib.i
|
||||||
|
|
||||||
check: build
|
check: build
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
SRCS = example.c
|
SRCS = example.c
|
||||||
TARGET = example
|
TARGET = example_wrap.c
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
|
|
||||||
check: build
|
check: build
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
SRCS = example.c
|
SRCS = example.c
|
||||||
TARGET = example
|
TARGET = example_wrap.c
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
|
|
||||||
check: build
|
check: build
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
SRCS = example.cpp
|
SRCS = example.cpp
|
||||||
TARGET = example
|
TARGET = example_wrap.cxx
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
|
|
||||||
check: build
|
check: build
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
SRCS = example.cpp
|
SRCS = example.cpp
|
||||||
TARGET = example
|
TARGET = example_wrap.cxx
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
|
|
||||||
check: build
|
check: build
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
TOP = ../../..
|
TOP = ../../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
SRCS =
|
SRCS =
|
||||||
TARGET = example
|
TARGET = example_wrap.cxx
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
|
|
||||||
check: build
|
check: build
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
TOP = ../../..
|
TOP = ../../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
SRCS = example.cpp
|
SRCS = example.cpp
|
||||||
TARGET = example
|
TARGET = example_wrap.cxx
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
|
|
||||||
check: build
|
check: build
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
SRCS = example.i
|
SRCS = example.i
|
||||||
TARGET = example
|
TARGET = example_wrap.c
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
|
|
||||||
check: build
|
check: build
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
SRCS = example.cxx
|
SRCS = example.cxx
|
||||||
TARGET = example
|
TARGET = example_wrap.cxx
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
|
|
||||||
check: build
|
check: build
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
SRCS = example.c
|
SRCS = example.c
|
||||||
TARGET = example
|
TARGET = example_wrap.c
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
|
|
||||||
check: build
|
check: build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue