summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schaller <michael@5challer.de>2015-06-26 12:34:43 +0200
committerMichael Schaller <michael@5challer.de>2015-08-04 09:34:26 +0200
commit0db9a6ba7b243546979f9a1737bac8d8435295d8 (patch)
tree2fc637e4d18a1a7feeef11b5c8b95b089151eeac
parentafd6a55ce1089b0ee67bfa5509abfa126926c459 (diff)
downloadswig-0db9a6ba7b243546979f9a1737bac8d8435295d8.tar.gz
Fixed Examples/go/director/Makefile as the copy of director.go wasn't cleaned up in separate build directories.
-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 0bb5c7b98..0c59bf340 100644
--- a/Examples/go/director/Makefile
+++ b/Examples/go/director/Makefile
@@ -17,4 +17,7 @@ build:
SWIG='$(SWIG)' SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' go_cpp
clean:
+ if [ -n '$(SRCDIR)' ]; then \
+ rm director.go; \
+ fi
$(MAKE) -f $(TOP)/Makefile SRCDIR='$(SRCDIR)' INTERFACE='$(INTERFACE)' go_clean