summaryrefslogtreecommitdiff
path: root/Examples/octave/module_load/Makefile
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2013-04-13 00:28:26 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2013-04-19 22:47:25 +0100
commit14a89fac86129a1d876cdc253d82046ea6fd1a0a (patch)
tree1deffba6791c67fb86f6ca363ceae3b11439f601 /Examples/octave/module_load/Makefile
parent6acfda55d1e427e3c391122fa2a0fe92e464eccc (diff)
downloadswig-14a89fac86129a1d876cdc253d82046ea6fd1a0a.tar.gz
Octave examples clean target fixed and makefiles use new RUNPIPE and general consistency tidyup
Diffstat (limited to 'Examples/octave/module_load/Makefile')
-rw-r--r--Examples/octave/module_load/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Examples/octave/module_load/Makefile b/Examples/octave/module_load/Makefile
index da2c704e0..bead6f150 100644
--- a/Examples/octave/module_load/Makefile
+++ b/Examples/octave/module_load/Makefile
@@ -4,19 +4,19 @@ SRCS = example.c
TARGET = example
INTERFACE = example.i
-all::
+check: build
+ $(MAKE) -f $(TOP)/Makefile octave_run
+
+build:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)' SWIGOPT='-module $$(TARGET)' INTERFACE='$(INTERFACE)' octave
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='$(TARGET)2' SWIGOPT='-module $$(TARGET) -globals .' INTERFACE='$(INTERFACE)' octave
-static::
+static:
$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
TARGET='myoctave' INTERFACE='$(INTERFACE)' octave_static
-clean::
+clean:
$(MAKE) -f $(TOP)/Makefile octave_clean
rm -f $(TARGET).m
-
-check: all
- $(MAKE) -f $(TOP)/Makefile octave_run