summaryrefslogtreecommitdiff
path: root/Examples/go/callback/Makefile
blob: 46a14b41727b6f2004ffe1418a2dc4b423b3b946 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
TOP        = ../..
SWIG       = $(TOP)/../preinst-swig
CXXSRCS    = callback.cxx
TARGET     = example
INTERFACE  = example.i
SWIGOPT    =

check: build
	$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' go_run

build:
	$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
	SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' go_cpp

clean:
	$(MAKE) -f $(TOP)/Makefile INTERFACE='$(INTERFACE)' go_clean