summaryrefslogtreecommitdiff
path: root/Examples/go/simple/Makefile
blob: 907da8821211ecc044d08953d0d80e90251c9e70 (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 SRCS='$(SRCS)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' go_run

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

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