diff options
Diffstat (limited to 'Examples/octave/module_load/Makefile')
-rw-r--r-- | Examples/octave/module_load/Makefile | 12 |
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 |