1
0
mirror of https://github.com/golang/go synced 2024-11-20 11:24:47 -07:00
go/usr/gri/pretty/Makefile

38 lines
665 B
Makefile
Raw Normal View History

# 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.$(GOARCH)
all: untab godoc pretty
untab: untab.$O
$(LD) -o untab untab.$O
godoc: godoc.$O
$(LD) -o godoc godoc.$O
pretty: pretty.$O
$(LD) -o pretty pretty.$O
test: pretty
./test.sh
smoketest: pretty
./test.sh astprinter.go
install: pretty godoc untab
cp godoc $(HOME)/bin/godoc
cp pretty $(HOME)/bin/pretty
cp untab $(HOME)/bin/untab
clean:
rm -f pretty untab godoc *.$O *.a 6.out *~
godoc.$O: astprinter.$O
pretty.$O: astprinter.$O
%.$O: %.go
$(GC) $(F) $<