summaryrefslogtreecommitdiff
path: root/Examples/scilab/funcptr/Makefile
diff options
context:
space:
mode:
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