Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
b3906086
Commit
b3906086
authored
Sep 23, 2008
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added gccgo makefile
R=r OCL=15693 CL=15695
parent
5383e28e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
1 deletion
+57
-1
Makefile.iant
usr/gri/pretty/Makefile.iant
+56
-0
ast.go
usr/gri/pretty/ast.go
+1
-1
No files found.
usr/gri/pretty/Makefile.iant
0 → 100644
View file @
b3906086
# 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.
# -*- Makefile -*-
GO
=
/home/iant/go/bin/gccgo
LDFLAGS
=
-Wl
,-R,/home/iant/go/lib
test
:
pretty
pretty
-s
*
.go
pretty
-s
../gosrc/
*
.go
pretty
-s
$(GOROOT)
/test/sieve.go
pretty
-s
$(GOROOT)
/src/pkg/
*
.go
pretty
-s
$(GOROOT)
/src/lib/flag.go
pretty
-s
$(GOROOT)
/src/lib/fmt.go
pretty
-s
$(GOROOT)
/src/lib/rand.go
pretty
-s
$(GOROOT)
/src/lib/math/
*
.go
pretty
-s
$(GOROOT)
/src/lib/container/
*
.go
pretty
-s
$(GOROOT)
/src/syscall/
*
.go
echo
"DONE"
install
:
pretty
cp
pretty
$(HOME)
/bin/pretty
clean
:
rm
-f
pretty
*
.o
*
~
pretty.o
:
parser.o printer.o platform.o scanner.o
parser.o
:
ast.o scanner.o utils.o printer.o
scanner.o
:
utils.o platform.o
.SUFFIXES
:
.SUFFIXES
:
.go .o
.go.o
:
$(GO)
-O2
-c
-g
$<
PRETTY_OBJS
=
\
ast.o
\
pretty.o
\
parser.o
\
platform.o
\
printer.o
\
scanner.o
\
utils.o
\
pretty
:
$(PRETTY_OBJS)
$(GO)
$(LDFLAGS)
-o
$@
$(PRETTY_OBJS)
usr/gri/pretty/ast.go
View file @
b3906086
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package
AST
;
package
AST
// ----------------------------------------------------------------------------
// Lists
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment