2008-09-18 17:58:37 -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.
|
|
|
|
|
|
|
|
G=6g
|
|
|
|
L=6l
|
|
|
|
|
2009-04-02 16:58:58 -06:00
|
|
|
all: untab godoc pretty
|
2008-11-18 19:44:17 -07:00
|
|
|
|
|
|
|
untab: untab.6
|
|
|
|
$(L) -o untab untab.6
|
2009-02-06 16:26:30 -07:00
|
|
|
|
2009-04-02 16:58:58 -06:00
|
|
|
godoc: godoc.6
|
|
|
|
$(L) -o godoc godoc.6
|
2009-02-06 16:26:30 -07:00
|
|
|
|
2008-09-18 17:58:37 -06:00
|
|
|
pretty: pretty.6
|
|
|
|
$(L) -o pretty pretty.6
|
|
|
|
|
2008-09-18 23:53:54 -06:00
|
|
|
test: pretty
|
2008-10-24 21:14:28 -06:00
|
|
|
./test.sh
|
2008-09-18 17:58:37 -06:00
|
|
|
|
2008-11-13 18:50:46 -07:00
|
|
|
smoketest: pretty
|
2009-04-01 04:32:44 -06:00
|
|
|
./test.sh astprinter.go
|
2008-11-13 18:50:46 -07:00
|
|
|
|
2009-04-02 19:25:18 -06:00
|
|
|
install: pretty godoc untab
|
|
|
|
cp godoc $(HOME)/bin/godoc
|
2009-04-21 19:37:48 -06:00
|
|
|
cp pretty $(HOME)/bin/pretty
|
2009-04-02 19:25:18 -06:00
|
|
|
cp untab $(HOME)/bin/untab
|
2008-09-18 17:58:37 -06:00
|
|
|
|
|
|
|
clean:
|
2009-04-02 19:25:18 -06:00
|
|
|
rm -f pretty untab godoc *.6 *.a 6.out *~
|
2008-09-18 17:58:37 -06:00
|
|
|
|
2009-04-21 19:37:48 -06:00
|
|
|
godoc.6: astprinter.6 comment.6 docprinter.6
|
2009-03-30 18:13:11 -06:00
|
|
|
|
2009-04-21 19:37:48 -06:00
|
|
|
pretty.6: astprinter.6
|
2009-04-15 19:53:43 -06:00
|
|
|
|
2008-09-18 17:58:37 -06:00
|
|
|
%.6: %.go
|
|
|
|
$(G) $(F) $<
|