PageRenderTime 14ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

/Makefile

https://code.google.com/p/go-golf/
Makefile | 24 lines | 13 code | 8 blank | 3 comment | 0 complexity | 299e26d95eb2ba902f916ac13a4c1503 MD5 | raw file
  1. # Copyright 2009 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. include $(GOROOT)/src/Make.inc
  5. TARG=golf
  6. GOFILES=golf.go golfToken.go golfLine.go
  7. include $(GOROOT)/src/Make.pkg
  8. all: main
  9. main: $(TARG).a
  10. 6g main.go
  11. 6l -o main main.6
  12. $(TARG).a: _obj/$(TARG).a
  13. cp _obj/$(TARG).a .
  14. clean: mainclean
  15. mainclean:
  16. rm -f $(TARG).a