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
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)
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