diff options
author | Karl Wette <karl.wette@ligo.org> | 2014-05-26 20:38:36 +0200 |
---|---|---|
committer | Karl Wette <karl.wette@ligo.org> | 2014-05-29 23:42:55 +0200 |
commit | b2d492c15a0240d8954d3702a87f90eb34fd49fb (patch) | |
tree | 23e2764af6fbef075eefcf3bfb441710978fd107 /Examples/octave/callback | |
parent | ebe13380158ad5f552405463287d3cb4cdecc8bd (diff) | |
download | swig-b2d492c15a0240d8954d3702a87f90eb34fd49fb.tar.gz |
Octave: use common example.mk for examples, patterned after javascript
Diffstat (limited to 'Examples/octave/callback')
-rw-r--r-- | Examples/octave/callback/Makefile | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/Examples/octave/callback/Makefile b/Examples/octave/callback/Makefile index 7855d0617..3b746de2f 100644 --- a/Examples/octave/callback/Makefile +++ b/Examples/octave/callback/Makefile @@ -1,17 +1,3 @@ -TOP = ../.. -SWIG = $(TOP)/../preinst-swig -CXXSRCS = example.cxx -TARGET = swigexample -INTERFACE = example.i -LIBS = -lm -SWIGOPT = +CXXSRCS = example.cxx -check: build - $(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' octave_run - -build: - $(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' $(SWIGLIB) CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \ - SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' octave_cpp - -clean: - $(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' octave_clean +include $(SRCDIR)../example.mk |