New example for templates

This commit is contained in:
Simon Marchetto 2013-06-03 15:41:13 +02:00
commit 0ac03d9fe9
5 changed files with 142 additions and 0 deletions

View file

@ -0,0 +1,17 @@
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.cxx
TARGET = example
INTERFACE = example.i
all:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' scilab_cpp
clean:
$(MAKE) -f $(TOP)/Makefile scilab_clean
rm -f *.sce *.so lib*lib.c *_wrap.c *_wrap.cxx
check: all
$(MAKE) -f $(TOP)/Makefile scilab_run