summaryrefslogtreecommitdiff
path: root/Examples/scilab/struct/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/scilab/struct/Makefile')
-rw-r--r--Examples/scilab/struct/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Examples/scilab/struct/Makefile b/Examples/scilab/struct/Makefile
index 7a030a33c..9f8b7e891 100644
--- a/Examples/scilab/struct/Makefile
+++ b/Examples/scilab/struct/Makefile
@@ -1,5 +1,6 @@
TOP = ../..
-SWIG = $(TOP)/../preinst-swig
+SWIGEXE = $(TOP)/../swig
+SWIG_LIB_DIR = $(TOP)/../$(TOP_BUILDDIR_TO_TOP_SRCDIR)Lib
SRCS =
TARGET = example
INTERFACE = example.i
@@ -8,7 +9,8 @@ check: build
$(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' scilab_run
build:
- $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SRCDIR='$(SRCDIR)' SWIG='$(SWIG)' \
+ $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SRCDIR='$(SRCDIR)' \
+ SWIG_LIB_DIR='$(SWIG_LIB_DIR)' SWIGEXE='$(SWIGEXE)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' scilab
clean: