1
0
mirror of https://github.com/golang/go synced 2024-11-12 06:20:22 -07:00

The flag and fmt libraries are now available from gccgo by

default.  Fix PRETTY_OBJS to include compilation.o rather than
compilation.go.

R=gri
DELTA=10  (0 added, 8 deleted, 2 changed)
OCL=20248
CL=20257
This commit is contained in:
Ian Lance Taylor 2008-12-02 12:52:47 -08:00
parent 28a30254e7
commit 748287d49e

View File

@ -11,14 +11,12 @@ LDFLAGS = -Wl,-R,/home/iant/go/lib
PRETTY_OBJS = \
ast.o \
pretty.o \
compilation.go \
compilation.o \
parser.o \
platform.o \
printer.o \
scanner.o \
utils.o \
flag.o \
fmt.o \
utils.o
pretty: $(PRETTY_OBJS)
$(GO) $(LDFLAGS) -o $@ $(PRETTY_OBJS)
@ -48,12 +46,6 @@ platform.o: utils.o
printer.o: scanner.o ast.o
flag.o: fmt.o
$(GO) -O2 -c -g $(GOROOT)/src/lib/flag.go
fmt.o:
$(GO) -O2 -c -g $(GOROOT)/src/lib/fmt.go
.SUFFIXES:
.SUFFIXES: .go .o