2009-10-03 11:37:12 -06:00
|
|
|
# Copyright 2009 The Go Authors. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style
|
|
|
|
# license that can be found in the LICENSE file.
|
|
|
|
|
2009-11-23 18:32:51 -07:00
|
|
|
include ../../../src/Make.$(GOARCH)
|
2009-10-03 11:37:12 -06:00
|
|
|
|
|
|
|
TARG=stdio
|
|
|
|
CGOFILES=\
|
|
|
|
file.go
|
|
|
|
|
2009-10-03 12:33:51 -06:00
|
|
|
CLEANFILES+=hello fib chain run.out
|
2009-10-03 11:37:12 -06:00
|
|
|
|
2009-11-23 18:32:51 -07:00
|
|
|
include ../../../src/Make.pkg
|
2009-10-03 11:37:12 -06:00
|
|
|
|
|
|
|
%: install %.go
|
2009-12-11 16:14:09 -07:00
|
|
|
$(QUOTED_GOBIN)/$(GC) $*.go
|
|
|
|
$(QUOTED_GOBIN)/$(LD) -o $@ $*.$O
|