Skip to content

Commit

Permalink
[MATLAB] Revert changes to Examples/octave/module_load/Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeandersson committed Aug 15, 2014
1 parent 5a54d78 commit 7732856
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions Examples/octave/module_load/Makefile
@@ -1,18 +1,7 @@
TOP = ../..
SWIG = $(TOP)/../preinst-swig
SRCS = example.c
TARGET = swigexample
INTERFACE = example.i
SRCS = example.c
TARGET = swigexample
SWIGOPT = -module swigexample
TARGET2 = swigexample2
SWIGOPT2 = -module swigexample2 -globals .

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

clean:
$(MAKE) -f $(TOP)/Makefile octave_clean
rm -f $(TARGET).m
include $(SRCDIR)../example.mk

0 comments on commit 7732856

Please sign in to comment.