1
0
mirror of https://github.com/golang/go synced 2024-10-03 18:21:21 -06:00
go/usr/gri/pretty/Makefile
Robert Griesemer 654bc2badc - factored out tabwriter a separate writer filter
(to be moved into std lib eventually)
- rewrote tabwriter to use byte buffers instead of strings
  (byte buffers to be moved into stdlib eventually)
- support for recent syntax changes
- no space printed after function name and before function parameters
- comments still disabled due to a known bug

R=r
OCL=19430
CL=19430
2008-11-17 19:58:52 -08:00

40 lines
610 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.
G=6g
L=6l
pretty: pretty.6
$(L) -o pretty pretty.6
test: pretty
./test.sh
smoketest: pretty
./test.sh parser.go
install: pretty
cp pretty $(HOME)/bin/pretty
clean:
rm -f pretty *.6 *~
pretty.6: platform.6 printer.6 compilation.6
compilation.6: platform.6 scanner.6 parser.6 ast.6
ast.6: scanner.6
scanner.6: utils.6
parser.6: scanner.6 ast.6
platform.6: utils.6
printer.6: scanner.6 ast.6 tabwriter.6
%.6: %.go
$(G) $(F) $<