Use CXXSRCS for testing for Scilab like other languages

This commit is contained in:
William S Fulton 2014-09-02 20:12:19 +01:00
commit 2831d891cd
7 changed files with 19 additions and 19 deletions

View file

@ -1,6 +1,6 @@
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.cpp
CXXSRCS = example.cpp
TARGET = example
INTERFACE = example.i
@ -8,7 +8,7 @@ check: build
$(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' scilab_run
build:
$(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' SRCS='$(SRCS)' SWIG='$(SWIG)' \
$(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' scilab_cpp
clean: