Scilab: take in account TARGET in example makefile, fix target in examples sub makefiles

This commit is contained in:
Simon Marchetto 2013-09-04 14:53:14 +02:00
commit 7a81f55ac9
17 changed files with 21 additions and 18 deletions

View file

@ -1587,6 +1587,9 @@ define get_swig_scilab_args
ifdef INCLUDES
SWIG_SCILAB_ARGS += -addcflag "$(INCLUDES)"
endif
ifdef TARGET
SWIG_SCILAB_ARGS += -o "$(TARGET)"
endif
endef
# ----------------------------------------------------------------

View file

@ -1,7 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.cxx
TARGET = example
TARGET = example_wrap.cxx
INTERFACE = example.i
check: build

View file

@ -1,7 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.i
TARGET = example
SRCS =
TARGET = example_wrap.c
INTERFACE = example.i
check: build

View file

@ -1,7 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.c
TARGET = example
TARGET = example_wrap.c
INTERFACE = example.i
check: build

View file

@ -1,7 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.c
TARGET = example
TARGET = example_wrap.c
INTERFACE = example.i
check: build

View file

@ -1,7 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.c
TARGET = example
TARGET = example_wrap.c
INTERFACE = example.i
check: build

View file

@ -1,7 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.c
TARGET = example
TARGET = example_wrap.c
INTERFACE = example.i
check: build

View file

@ -1,7 +1,7 @@
TOP = ../..
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = matrixlib.c
TARGET = matrixlib
TARGET = matrixlib_wrap.c
INTERFACE = matrixlib.i
check: build

View file

@ -1,7 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.c
TARGET = example
TARGET = example_wrap.c
INTERFACE = example.i
check: build

View file

@ -1,7 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.c
TARGET = example
TARGET = example_wrap.c
INTERFACE = example.i
check: build

View file

@ -1,7 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.cpp
TARGET = example
TARGET = example_wrap.cxx
INTERFACE = example.i
check: build

View file

@ -1,7 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.cpp
TARGET = example
TARGET = example_wrap.cxx
INTERFACE = example.i
check: build

View file

@ -1,7 +1,7 @@
TOP = ../../..
SWIG = $(TOP)/../preinst-swig
SRCS =
TARGET = example
TARGET = example_wrap.cxx
INTERFACE = example.i
check: build

View file

@ -1,7 +1,7 @@
TOP = ../../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.cpp
TARGET = example
TARGET = example_wrap.cxx
INTERFACE = example.i
check: build

View file

@ -1,7 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.i
TARGET = example
TARGET = example_wrap.c
INTERFACE = example.i
check: build

View file

@ -1,7 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.cxx
TARGET = example
TARGET = example_wrap.cxx
INTERFACE = example.i
check: build

View file

@ -1,7 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.c
TARGET = example
TARGET = example_wrap.c
INTERFACE = example.i
check: build