1
0
mirror of https://github.com/golang/go synced 2024-10-04 06:21:23 -06:00
go/usr/gri/pretty/Makefile
Phil Pennock d6f89c69c4 Support use of $GOBINDIR to override $HOME/bin
R=r,gri,rsc
APPROVED=rsc
DELTA=53  (12 added, 6 deleted, 35 changed)
OCL=31822
CL=32282
2009-07-28 11:23:24 -07:00

31 lines
573 B
Makefile

# 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.
include $(GOROOT)/src/Make.conf
include $(GOROOT)/src/Make.$(GOARCH)
all: godoc gofmt
godoc: godoc.$O
$(LD) -o godoc godoc.$O
gofmt: gofmt.$O
$(LD) -o gofmt gofmt.$O
test: gofmt
./test.sh
smoketest: gofmt
./test.sh $(GOROOT)/src/pkg/go/printer/printer.go
install: pretty godoc untab
cp godoc $(GOBIN)/godoc
cp gofmt $(GOBIN)/gofmt
clean:
rm -f godoc gofmt *.$O *.a 6.out *~
%.$O: %.go
$(GC) $(F) $<