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

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)' \
	TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' go

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