diff options
Diffstat (limited to 'src/Make.common')
-rw-r--r-- | src/Make.common | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/Make.common b/src/Make.common new file mode 100644 index 000000000..0b27d07f9 --- /dev/null +++ b/src/Make.common @@ -0,0 +1,22 @@ +# 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 + |