aboutsummaryrefslogtreecommitdiff
path: root/Examples/go/constants
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2013-04-13 00:11:39 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2013-04-19 22:47:25 +0100
commit6acfda55d1e427e3c391122fa2a0fe92e464eccc (patch)
tree5ee75855ef2b0be0c8f92945aae3edbb49e0ca1f /Examples/go/constants
parent760c398c49c692d956fa307941722fa072919968 (diff)
downloadswig-6acfda55d1e427e3c391122fa2a0fe92e464eccc.tar.gz
Go examples makefiles clean target fixed and use RUNPIPE and tidyup
Diffstat (limited to 'Examples/go/constants')
-rw-r--r--Examples/go/constants/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Examples/go/constants/Makefile b/Examples/go/constants/Makefile
index 71d4d73a4..b45feb963 100644
--- a/Examples/go/constants/Makefile
+++ b/Examples/go/constants/Makefile
@@ -5,12 +5,12 @@ TARGET = example
INTERFACE = example.i
SWIGOPT =
-all::
+check: build
+ $(MAKE) -f $(TOP)/Makefile TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' go_run
+
+build:
$(MAKE) -f $(TOP)/Makefile CXXSRCS='$(CXXSRCS)' SWIG='$(SWIG)' \
SWIGOPT='$(SWIGOPT)' TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' go
-clean::
- $(MAKE) -f $(TOP)/Makefile go_clean
-
-check: all
- $(MAKE) -f $(TOP)/Makefile TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' go_run
+clean:
+ $(MAKE) -f $(TOP)/Makefile INTERFACE='$(INTERFACE)' go_clean