The Go Programming Language

Command gomake

The gomake command runs GNU make with an appropriate environment for using the conventional Go makefiles. If $GOROOT is already set in the environment, running gomake is exactly the same as running make (or, on BSD systems, running gmake).

Usage: gomake [ target ... ]

Common targets are:

all (default)
	build the package or command, but do not install it.

install
	build and install the package or command

test
	run the tests (packages only)

bench
	run benchmarks (packages only)

clean
	remove object files from the current directory

nuke
	make clean and remove the installed package or command

See http://golang.org/doc/code.html for information about writing makefiles.

release.r60.3. Except as noted, this content is licensed under a Creative Commons Attribution 3.0 License.