1
0
mirror of https://github.com/golang/go synced 2024-10-05 02:21:22 -06:00
go/src/pkg/gob/Makefile
Rob Pike f593b37f23 gobs: error cleanup part 1.
Remove err from the encoderState and decoderState types, so we're
not always copying to and from various copies of the error, and then
use panic/recover to eliminate lots of error checking.

another pass might take a crack at the same thing for the compilation phase.

R=rsc
CC=golang-dev
https://golang.org/cl/2660042
2010-10-22 15:16:34 -07:00

26 lines
441 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 ../../Make.inc
TARG=gob
GOFILES=\
decode.go\
decoder.go\
doc.go\
encode.go\
encoder.go\
error.go\
type.go\
include ../../Make.pkg
# Help for debugging. Requires adding debug.go to the gob package as well.
dump: dump.$O
$(LD) -o dump $<
dump.$O: dump.go
$(GC) $<