diff options
author | Ian Lance Taylor <iant@google.com> | 2013-12-16 19:50:17 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2013-12-16 19:50:17 -0800 |
commit | 1dca0af0241475c11a842e4dd4c16ff7b367a962 (patch) | |
tree | c16b5ff43d5e2918d52e8557325ea53b79807086 /Examples/go/variables | |
parent | 39bf2efdc980f800219cb488c24eef3ef6be5c5c (diff) | |
download | swig-1dca0af0241475c11a842e4dd4c16ff7b367a962.tar.gz |
Update for Go 1.2 release. Add support for linking SWIG code directly
into executable, rather than using a shared library.
Diffstat (limited to 'Examples/go/variables')
-rw-r--r-- | Examples/go/variables/Makefile | 4 | ||||
-rw-r--r-- | Examples/go/variables/variables.c (renamed from Examples/go/variables/example.c) | 0 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Examples/go/variables/Makefile b/Examples/go/variables/Makefile index 452ea2118..1f144929c 100644 --- a/Examples/go/variables/Makefile +++ b/Examples/go/variables/Makefile @@ -1,12 +1,12 @@ TOP = ../.. SWIG = $(TOP)/../preinst-swig -SRCS = example.c +SRCS = variables.c TARGET = example INTERFACE = example.i SWIGOPT = check: build - $(MAKE) -f $(TOP)/Makefile TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' go_run + $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' go_run build: $(MAKE) -f $(TOP)/Makefile SRCS='$(SRCS)' SWIG='$(SWIG)' \ diff --git a/Examples/go/variables/example.c b/Examples/go/variables/variables.c index 05e17c8c5..05e17c8c5 100644 --- a/Examples/go/variables/example.c +++ b/Examples/go/variables/variables.c |