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
1d62becb
Commit
1d62becb
authored
Sep 09, 2010
by
Joe Poirier
Committed by
Russ Cox
Sep 09, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: generate, clean .exe files on Windows
R=rsc, brainman, vcc CC=golang-dev
https://golang.org/cl/2165044
parent
a0fc33a8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
Make.ccmd
src/Make.ccmd
+4
-0
Make.pkg
src/Make.pkg
+1
-1
No files found.
src/Make.ccmd
View file @
1d62becb
...
@@ -4,6 +4,10 @@
...
@@ -4,6 +4,10 @@
# Makefile for commands written in C.
# Makefile for commands written in C.
ifeq (windows,$(findstring windows, $(shell uname | tr A-Z a-z | sed 's/mingw/windows/')))
TARG:=$(TARG).exe
endif
$(TARG): $(OFILES) $(LIB)
$(TARG): $(OFILES) $(LIB)
$(HOST_LD) -o $(TARG) -L"$(GOROOT)"/lib $(OFILES) $(LIB) -lbio -l9 -lm
$(HOST_LD) -o $(TARG) -L"$(GOROOT)"/lib $(OFILES) $(LIB) -lbio -l9 -lm
...
...
src/Make.pkg
View file @
1d62becb
...
@@ -50,7 +50,7 @@ coverage:
...
@@ -50,7 +50,7 @@ coverage:
gotest
gotest
6cov -g $(shell pwd) $O.out | grep -v '_test\.go:'
6cov -g $(shell pwd) $O.out | grep -v '_test\.go:'
CLEANFILES+=*.cgo1.go *.cgo2.c _cgo_defun.c _cgo_gotypes.go _cgo_export.* *.so _obj _test _testmain.go
CLEANFILES+=*.cgo1.go *.cgo2.c _cgo_defun.c _cgo_gotypes.go _cgo_export.* *.so _obj _test _testmain.go
*.exe
test:
test:
gotest
gotest
...
...
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