summaryrefslogtreecommitdiff
path: root/Examples/go
diff options
context:
space:
mode:
authorMichael Schaller <michael@5challer.de>2015-06-26 11:25:23 +0200
committerMichael Schaller <michael@5challer.de>2015-08-04 09:34:26 +0200
commitafd6a55ce1089b0ee67bfa5509abfa126926c459 (patch)
treeca2773b658c67ae8b8b194d44d94550c68b55b6e /Examples/go
parent94994a749e813176ddd68fc67e22ae2cda442ddd (diff)
downloadswig-afd6a55ce1089b0ee67bfa5509abfa126926c459.tar.gz
Fixed Examples/go/director/Makefile as director.go was missing in separate build directories.
Diffstat (limited to 'Examples/go')
-rw-r--r--Examples/go/director/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Examples/go/director/Makefile b/Examples/go/director/Makefile
index 8a5fd508a..0bb5c7b98 100644
--- a/Examples/go/director/Makefile
+++ b/Examples/go/director/Makefile
@@ -10,6 +10,9 @@ check: build
$(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' CXXSRCS='$(CXXSRCS)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' go_run
build:
+ if [ -n '$(SRCDIR)' ]; then \
+ cp $(SRCDIR)/director.go .; \
+ fi
$(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' CXXSRCS='$(CXXSRCS)' GOSRCS='$(GOSRCS)' \
SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' go_cpp