Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
bf6dd2db
Commit
bf6dd2db
authored
Dec 16, 2011
by
Maxim Pimenov
Committed by
Russ Cox
Dec 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
various: use $GCFLAGS and $GCIMPORTS like Make does
R=golang-dev, rsc CC=golang-dev
https://golang.org/cl/5489065
parent
dd694fb1
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
17 additions
and
17 deletions
+17
-17
doc/codelab/wiki/Makefile
doc/codelab/wiki/Makefile
+1
-1
misc/cgo/gmp/Makefile
misc/cgo/gmp/Makefile
+2
-2
misc/cgo/life/Makefile
misc/cgo/life/Makefile
+2
-2
misc/cgo/stdio/Makefile
misc/cgo/stdio/Makefile
+1
-1
misc/cgo/testso/Makefile
misc/cgo/testso/Makefile
+1
-1
misc/swig/callback/Makefile
misc/swig/callback/Makefile
+1
-1
misc/swig/stdio/Makefile
misc/swig/stdio/Makefile
+1
-1
src/cmd/goyacc/Makefile
src/cmd/goyacc/Makefile
+1
-1
src/pkg/encoding/gob/Makefile
src/pkg/encoding/gob/Makefile
+1
-1
src/pkg/exp/norm/Makefile
src/pkg/exp/norm/Makefile
+3
-3
src/pkg/go/doc/Makefile
src/pkg/go/doc/Makefile
+1
-1
src/pkg/unicode/Makefile
src/pkg/unicode/Makefile
+1
-1
test/bench/garbage/Makefile
test/bench/garbage/Makefile
+1
-1
No files found.
doc/codelab/wiki/Makefile
View file @
bf6dd2db
...
...
@@ -21,5 +21,5 @@ test: get.bin
$(LD)
-o
$@
$<
%.$O
:
%.go
$(GC)
$*
.go
$(GC)
$
(GCFLAGS)
$(GCIMPORTS)
$
*
.go
misc/cgo/gmp/Makefile
View file @
bf6dd2db
...
...
@@ -28,11 +28,11 @@ include ../../../src/Make.pkg
# Computes 1000 digits of pi; single-threaded.
pi
:
install pi.go
$(GC)
pi.go
$(GC)
$(GCFLAGS)
$(GCIMPORTS)
pi.go
$(LD)
-o
$@
pi.
$O
# Computes 200 Fibonacci numbers; multi-threaded.
fib
:
install fib.go
$(GC)
fib.go
$(GC)
$(GCFLAGS)
$(GCIMPORTS)
fib.go
$(LD)
-o
$@
fib.
$O
misc/cgo/life/Makefile
View file @
bf6dd2db
...
...
@@ -11,7 +11,7 @@ CGOFILES=\
CGO_OFILES
=
\
c-life.o
\
ifeq
($(GOOS),windows)
ifeq
($(GOARCH),amd64)
CGO_OFILES
+=
\
...
...
@@ -31,5 +31,5 @@ CLEANFILES+=life
include
../../../src/Make.pkg
life
:
install main.go
$(GC)
main.go
$(GC)
$(GCFLAGS)
$(GCIMPORTS)
main.go
$(LD)
-o
$@
main.
$O
misc/cgo/stdio/Makefile
View file @
bf6dd2db
...
...
@@ -13,5 +13,5 @@ CLEANFILES+=hello fib chain run.out
include
../../../src/Make.pkg
%
:
install %.go
$(GC)
$*
.go
$(GC)
$
(GCFLAGS)
$(GCIMPORTS)
$
*
.go
$(LD)
-o
$@
$*
.
$O
misc/cgo/testso/Makefile
View file @
bf6dd2db
...
...
@@ -18,5 +18,5 @@ libcgoso.so: cgoso_c.c
gcc cgoso_c.c
-fPIC
-o
$@
$
(
_CGO_CFLAGS_
$(GOARCH)
)
$
(
_CGO_LDFLAGS_
$(GOOS)
)
out
:
install main.go
$(GC)
main.go
$(GC)
$(GCFLAGS)
$(GCIMPORTS)
main.go
$(LD)
-o
$@
main.
$O
misc/swig/callback/Makefile
View file @
bf6dd2db
...
...
@@ -13,5 +13,5 @@ CLEANFILES+=run
include
../../../src/Make.pkg
%
:
install %.go
$(GC)
$*
.go
$(GC)
$
(GCFLAGS)
$(GCIMPORTS)
$
*
.go
$(LD)
$(SWIG_RPATH)
-o
$@
$*
.
$O
misc/swig/stdio/Makefile
View file @
bf6dd2db
...
...
@@ -13,5 +13,5 @@ CLEANFILES+=hello
include
../../../src/Make.pkg
%
:
install %.go
$(GC)
$*
.go
$(GC)
$
(GCFLAGS)
$(GCIMPORTS)
$
*
.go
$(LD)
$(SWIG_RPATH)
-o
$@
$*
.
$O
src/cmd/goyacc/Makefile
View file @
bf6dd2db
...
...
@@ -12,7 +12,7 @@ include ../../Make.cmd
units
:
goyacc units.y
./goyacc
-p
units_ units.y
$(GC)
y.go
$(GC)
$(GCFLAGS)
$(GCIMPORTS)
y.go
$(LD)
-o
units y.
$O
CLEANFILES
+=
units y.go y.output
src/pkg/encoding/gob/Makefile
View file @
bf6dd2db
...
...
@@ -22,4 +22,4 @@ dump: dump.$O
$(LD)
-o
dump
$<
dump.$O
:
dump.go
$(GC)
$<
$(GC)
$
(GCFLAGS)
$(GCIMPORTS)
$
<
src/pkg/exp/norm/Makefile
View file @
bf6dd2db
...
...
@@ -19,15 +19,15 @@ include ../../../Make.pkg
CLEANFILES
+=
maketables maketesttables
maketables
:
maketables.go triegen.go
$(GC)
maketables.go triegen.go
$(GC)
$(GCFLAGS)
$(GCIMPORTS)
maketables.go triegen.go
$(LD)
-o
maketables maketables.
$O
maketesttables
:
maketesttables.go triegen.go
$(GC)
maketesttables.go triegen.go
$(GC)
$(GCFLAGS)
$(GCIMPORTS)
maketesttables.go triegen.go
$(LD)
-o
maketesttables maketesttables.
$O
normregtest
:
normregtest.go
$(GC)
normregtest.go
$(GC)
$(GCFLAGS)
$(GCIMPORTS)
normregtest.go
$(LD)
-o
normregtest normregtest.
$O
tables
:
maketables
...
...
src/pkg/go/doc/Makefile
View file @
bf6dd2db
...
...
@@ -15,5 +15,5 @@ include ../../../Make.pkg
# Script to test heading detection heuristic
CLEANFILES
+=
headscan
headscan
:
headscan.go
$(GC)
headscan.go
$(GC)
$(GCFLAGS)
$(GCIMPORTS)
headscan.go
$(LD)
-o
headscan headscan.
$(O)
src/pkg/unicode/Makefile
View file @
bf6dd2db
...
...
@@ -17,7 +17,7 @@ include ../../Make.pkg
CLEANFILES
+=
maketables
maketables
:
maketables.go
$(GC)
maketables.go
$(GC)
$(GCFLAGS)
$(GCIMPORTS)
maketables.go
$(LD)
-o
maketables maketables.
$O
tables
:
maketables
...
...
test/bench/garbage/Makefile
View file @
bf6dd2db
...
...
@@ -12,7 +12,7 @@ ALL=\
all
:
$(addsuffix .out
,
$(ALL))
%.$O
:
%.go stats.go
$(GC)
$*
.go stats.go
$(GC)
$
(GCFLAGS)
$(GCIMPORTS)
$
*
.go stats.go
%.out
:
%.$O
$(LD)
-o
$@
$*
.
$O
...
...
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