PageRenderTime 20ms CodeModel.GetById 15ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/sample_game/Makefile

https://code.google.com/p/termon/
Makefile | 25 lines | 12 code | 7 blank | 6 comment | 0 complexity | 0a5e85ecffe56ae1cfd547984801f659 MD5 | raw file
 1# Makefile generated by gb: http://go-gb.googlecode.com
 2# gb provides configuration-free building and distributing
 3
 4include $(GOROOT)/src/Make.inc
 5
 6TARG=sample_game
 7GOFILES=\
 8	sample_game.go\
 9
10# gb: this is the local install
11GBROOT=..
12
13# gb: compile/link against local install
14GC+= -I $(GBROOT)/_obj
15LD+= -L $(GBROOT)/_obj
16
17# gb: default target is in GBROOT this way
18command:
19
20include $(GOROOT)/src/Make.cmd
21
22# gb: copy to local install
23$(GBROOT)/bin/$(TARG): $(TARG)
24	mkdir -p $(dir $@); cp -f $< $@
25command: $(GBROOT)/bin/$(TARG)