summaryrefslogtreecommitdiff
path: root/Examples/octave/variables/Makefile
blob: 73e3962ed0de0f95cf0e5168eee58c76545977e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
TOP        = ../..
SWIG       = $(TOP)/../preinst-swig
SRCS       = example.c
TARGET     = swigexample
INTERFACE  = example.i

check: build
	$(MAKE) -f $(TOP)/Makefile octave_run

build:
	$(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \
	TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' octave

clean:
	$(MAKE) -f $(TOP)/Makefile octave_clean