1
0
mirror of https://github.com/golang/go synced 2024-11-19 15:44:44 -07:00
go/src/Make.common
Lorenzo Stoakes bdcc0437f6 make: prevent rm provoking 'text file busy' errors.
Trivial patch to stop intermediate rm'ing of binaries stopping build.

R=rsc1, bradfitzgo, rsc
CC=golang-dev
https://golang.org/cl/4412045
2011-04-15 08:25:44 -04:00

23 lines
587 B
Plaintext

# 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.
clean:
rm -rf *.o *.a *.[$(OS)] [$(OS)].out $(CLEANFILES)
install.clean: install
rm -rf *.o *.a *.[$(OS)] [$(OS)].out $(CLEANFILES) || true
test.clean: test
rm -rf *.o *.a *.[$(OS)] [$(OS)].out $(CLEANFILES) || true
testshort.clean: testshort
rm -rf *.o *.a *.[$(OS)] [$(OS)].out $(CLEANFILES) || true
%.make:
$(MAKE) -C $* install
.PHONY: all clean nuke install coverage test bench testpackage-clean\
importpath dir