diff options
author | Michael Schaller <michael@5challer.de> | 2015-06-26 12:34:43 +0200 |
---|---|---|
committer | Michael Schaller <michael@5challer.de> | 2015-08-04 09:34:26 +0200 |
commit | 0db9a6ba7b243546979f9a1737bac8d8435295d8 (patch) | |
tree | 2fc637e4d18a1a7feeef11b5c8b95b089151eeac /Examples/go/director | |
parent | afd6a55ce1089b0ee67bfa5509abfa126926c459 (diff) | |
download | swig-0db9a6ba7b243546979f9a1737bac8d8435295d8.tar.gz |
Fixed Examples/go/director/Makefile as the copy of director.go wasn't cleaned up in separate build directories.
Diffstat (limited to 'Examples/go/director')
-rw-r--r-- | Examples/go/director/Makefile | 3 |
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 |