summaryrefslogtreecommitdiff
path: root/Examples/scilab/funcptr/Makefile
diff options
context:
space:
mode:
authorBaozeng Ding <sploving1@163.com>2009-07-30 09:41:11 +0000
committerBaozeng Ding <sploving1@163.com>2009-07-30 09:41:11 +0000
commita19aea6b4b8ad622701088426193b0ea594524bf (patch)
tree86cf5bc2b034fee24af15a6a4be67b77d6af7e64 /Examples/scilab/funcptr/Makefile
parent8217f59d551c2a3e1a1cccbed38c551e894d95e9 (diff)
downloadswig-a19aea6b4b8ad622701088426193b0ea594524bf.tar.gz
add array example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/scilab/funcptr/Makefile')
-rw-r--r--Examples/scilab/funcptr/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Examples/scilab/funcptr/Makefile b/Examples/scilab/funcptr/Makefile
new file mode 100644
index 000000000..b22d383ba
--- /dev/null
+++ b/Examples/scilab/funcptr/Makefile
@@ -0,0 +1,17 @@
+TOP = ../..
+SWIG = $(TOP)/../preinst-swig
+SRCS = example.c
+TARGET = example
+INTERFACE = example.i
+
+all::
+ $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
+ TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' scilab
+
+
+clean::
+ $(MAKE) -f $(TOP)/Makefile scilab_clean
+ rm -f *.sce *.so lib*lib.c *_wrap.c
+
+check: all
+ $(MAKE) -f $(TOP)/Makefile scilab_run