Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(47)

Side by Side Diff: src/Make.cmd

Issue 2444041: code review 2444041: Make.cmd: remove $(OFILES) (Closed)
Patch Set: code review 2444041: Make.cmd: remove $(OFILES) Created 13 years, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2009 The Go Authors. All rights reserved. 1 # Copyright 2009 The Go Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style 2 # Use of this source code is governed by a BSD-style
3 # license that can be found in the LICENSE file. 3 # license that can be found in the LICENSE file.
4 4
5 ifeq ($(GOOS),windows) 5 ifeq ($(GOOS),windows)
6 TARG:=$(TARG).exe 6 TARG:=$(TARG).exe
7 endif 7 endif
8 8
9 all: $(TARG) 9 all: $(TARG)
10 10
11 include $(QUOTED_GOROOT)/src/Make.common 11 include $(QUOTED_GOROOT)/src/Make.common
12 12
13 PREREQ+=$(patsubst %,%.make,$(DEPS)) 13 PREREQ+=$(patsubst %,%.make,$(DEPS))
14 14
15 $(TARG): _go_.$O $(OFILES) 15 $(TARG): _go_.$O
16 » $(LD) -o $@ _go_.$O $(OFILES) 16 » $(LD) -o $@ _go_.$O
17 17
18 _go_.$O: $(GOFILES) $(PREREQ) 18 _go_.$O: $(GOFILES) $(PREREQ)
19 $(GC) -o $@ $(GOFILES) 19 $(GC) -o $@ $(GOFILES)
20 20
21 install: $(QUOTED_GOBIN)/$(TARG) 21 install: $(QUOTED_GOBIN)/$(TARG)
22 22
23 $(QUOTED_GOBIN)/$(TARG): $(TARG) 23 $(QUOTED_GOBIN)/$(TARG): $(TARG)
24 cp -f $(TARG) $(QUOTED_GOBIN) 24 cp -f $(TARG) $(QUOTED_GOBIN)
25 25
26 CLEANFILES+=$(TARG) 26 CLEANFILES+=$(TARG)
27 27
28 nuke: clean 28 nuke: clean
29 rm -f $(QUOTED_GOBIN)/$(TARG) 29 rm -f $(QUOTED_GOBIN)/$(TARG)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b