]> Cypherpunks repositories - gostls13.git/commitdiff
The flag and fmt libraries are now available from gccgo by
authorIan Lance Taylor <iant@golang.org>
Tue, 2 Dec 2008 20:52:47 +0000 (12:52 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 2 Dec 2008 20:52:47 +0000 (12:52 -0800)
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

usr/gri/pretty/Makefile.iant

index 3c952f0f7b38958eaea94b061735c540c00776eb..b6d794a272282c4a59a9b176d4777bea6f662e27 100644 (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