2009-06-16 13:03:32 -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 ../../Make.$(GOARCH)
|
2009-06-16 13:03:32 -06:00
|
|
|
|
|
|
|
TARG=gofmt
|
2009-08-27 12:17:14 -06:00
|
|
|
GOFILES=\
|
|
|
|
gofmt.go\
|
2009-11-20 16:09:54 -07:00
|
|
|
rewrite.go\
|
2009-06-16 13:03:32 -06:00
|
|
|
|
2009-11-23 18:32:51 -07:00
|
|
|
include ../../Make.cmd
|
2009-06-16 13:03:32 -06:00
|
|
|
|
|
|
|
test: $(TARG)
|
|
|
|
./test.sh
|
|
|
|
|
|
|
|
smoketest: $(TARG)
|
2009-11-23 18:32:51 -07:00
|
|
|
./test.sh "$(GOROOT)"/src/pkg/go/parser/parser.go
|
2009-06-16 13:03:32 -06:00
|
|
|
|