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

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

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

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