Makefile 403 B

12345678910111213141516
  1. # Copyright 2013 The Go Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style
  3. # license that can be found in the LICENSE file.
  4. CLEANFILES+=maketables
  5. maketables: maketables.go
  6. go build $^
  7. tables: maketables
  8. ./maketables > tables.go
  9. gofmt -w -s tables.go
  10. # Build (but do not run) maketables during testing,
  11. # just to make sure it still compiles.
  12. testshort: maketables