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 ifdef INCLUDES
SWIG_SCILAB_ARGS += -addcflag "$(INCLUDES)" SWIG_SCILAB_ARGS += -addcflag "$(INCLUDES)"
endif endif
ifdef TARGET
SWIG_SCILAB_ARGS += -o "$(TARGET)"
endif
endef endef
# ---------------------------------------------------------------- # ----------------------------------------------------------------

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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