PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 2ms 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
 5include $(GOROOT)/src/Make.inc
 6
 7TARG=golf
 8GOFILES=golf.go golfToken.go golfLine.go
 9
10include $(GOROOT)/src/Make.pkg
11
12all: main
13
14main: $(TARG).a 
15	6g main.go
16	6l -o main main.6
17
18$(TARG).a: _obj/$(TARG).a
19	cp _obj/$(TARG).a .
20
21clean: mainclean
22
23mainclean:
24	rm -f $(TARG).a