mirror of
https://github.com/golang/go
synced 2024-11-22 23:50:03 -07:00
6609d2f88d
remove a few hardcoded paths elsewhere too. R=r,gri DELTA=123 (44 added, 15 deleted, 64 changed) OCL=29914 CL=29945
38 lines
665 B
Makefile
38 lines
665 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.$(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) $<
|