diff options
| author | Russ Cox <rsc@golang.org> | 2008-11-17 12:34:03 -0800 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2008-11-17 12:34:03 -0800 |
| commit | 079c00a475d11f71a69fe848dd67e8fe34ac88a8 (patch) | |
| tree | aeb58cc993873dadfe1a2adbc63521879b2dd66a /src/lib/strconv/Makefile | |
| parent | f333f4685cc667dda0be6ecd5500ff8fa10f4a2a (diff) | |
| download | go-079c00a475d11f71a69fe848dd67e8fe34ac88a8.tar.xz | |
correctly rounded floating-point conversions
in new package strconv.
move atoi etc to strconv too.
update fmt, etc to use strconv.
R=r
DELTA=2232 (1691 added, 424 deleted, 117 changed)
OCL=19286
CL=19380
Diffstat (limited to 'src/lib/strconv/Makefile')
| -rw-r--r-- | src/lib/strconv/Makefile | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/lib/strconv/Makefile b/src/lib/strconv/Makefile new file mode 100644 index 0000000000..e34a0fa92c --- /dev/null +++ b/src/lib/strconv/Makefile @@ -0,0 +1,58 @@ +# 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. + +# DO NOT EDIT. Automatically generated by gobuild. +# gobuild -m strconv atof.go atoi.go decimal.go ftoa.go itoa.go +O=6 +GC=$(O)g +CC=$(O)c -w +AS=$(O)a +AR=$(O)ar + +PKG=$(GOROOT)/pkg/strconv.a + +install: $(PKG) + +nuke: clean + rm -f $(PKG) + +clean: + rm -f *.$O *.a + +%.$O: %.go + $(GC) $*.go + +%.$O: %.c + $(CC) $*.c + +%.$O: %.s + $(AS) $*.s + + +O1=\ + atoi.$O\ + decimal.$O\ + itoa.$O\ + +O2=\ + ftoa.$O\ + +O3=\ + atof.$O\ + +$(PKG): a1 a2 a3 +a1: $(O1) + $(AR) grc $(PKG) $(O1) + rm -f $(O1) +a2: $(O2) + $(AR) grc $(PKG) $(O2) + rm -f $(O2) +a3: $(O3) + $(AR) grc $(PKG) $(O3) + rm -f $(O3) + +$(O1): nuke +$(O2): a1 +$(O3): a2 + |
