summaryrefslogtreecommitdiff
path: root/misc/cgo/stdio/Makefile
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2011-01-17 12:40:45 +0100
committerOndřej Surý <ondrej@sury.org>2011-01-17 12:40:45 +0100
commit3e45412327a2654a77944249962b3652e6142299 (patch)
treebc3bf69452afa055423cbe0c5cfa8ca357df6ccf /misc/cgo/stdio/Makefile
parentc533680039762cacbc37db8dc7eed074c3e497be (diff)
downloadgolang-upstream/2011.01.12.tar.gz
Imported Upstream version 2011.01.12upstream/2011.01.12
Diffstat (limited to 'misc/cgo/stdio/Makefile')
-rw-r--r--misc/cgo/stdio/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/misc/cgo/stdio/Makefile b/misc/cgo/stdio/Makefile
index 2e3d46631..fc925e607 100644
--- a/misc/cgo/stdio/Makefile
+++ b/misc/cgo/stdio/Makefile
@@ -2,16 +2,19 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-include ../../../src/Make.$(GOARCH)
+include ../../../src/Make.inc
TARG=stdio
CGOFILES=\
- file.go
+ align.go\
+ file.go\
+ test.go\
+ test1.go\
CLEANFILES+=hello fib chain run.out
include ../../../src/Make.pkg
%: install %.go
- $(QUOTED_GOBIN)/$(GC) $*.go
- $(QUOTED_GOBIN)/$(LD) -o $@ $*.$O
+ $(GC) $*.go
+ $(LD) -o $@ $*.$O