summaryrefslogtreecommitdiff
path: root/Examples/octave/simple
diff options
context:
space:
mode:
authorKarl Wette <karl.wette@ligo.org>2014-05-26 20:38:36 +0200
committerKarl Wette <karl.wette@ligo.org>2014-05-29 23:42:55 +0200
commitb2d492c15a0240d8954d3702a87f90eb34fd49fb (patch)
tree23e2764af6fbef075eefcf3bfb441710978fd107 /Examples/octave/simple
parentebe13380158ad5f552405463287d3cb4cdecc8bd (diff)
downloadswig-b2d492c15a0240d8954d3702a87f90eb34fd49fb.tar.gz
Octave: use common example.mk for examples, patterned after javascript
Diffstat (limited to 'Examples/octave/simple')
-rw-r--r--Examples/octave/simple/Makefile16
1 files changed, 2 insertions, 14 deletions
diff --git a/Examples/octave/simple/Makefile b/Examples/octave/simple/Makefile
index 2e0e82124..413b64bbd 100644
--- a/Examples/octave/simple/Makefile
+++ b/Examples/octave/simple/Makefile
@@ -1,15 +1,3 @@
-TOP = ../..
-SWIG = $(TOP)/../preinst-swig
-SRCS = example.c
-TARGET = swigexample
-INTERFACE = example.i
+SRCS = example.c
-check: build
- $(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' octave_run
-
-build:
- $(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' SRCS='$(SRCS)' SWIG='$(SWIG)' \
- TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' octave
-
-clean:
- $(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' octave_clean
+include $(SRCDIR)../example.mk