/sample_game/Makefile
https://code.google.com/p/termon/ · Makefile · 25 lines · 12 code · 7 blank · 6 comment · 0 complexity · 0a5e85ecffe56ae1cfd547984801f659 MD5 · raw file
- # Makefile generated by gb: http://go-gb.googlecode.com
- # gb provides configuration-free building and distributing
- include $(GOROOT)/src/Make.inc
- TARG=sample_game
- GOFILES=\
- sample_game.go\
- # gb: this is the local install
- GBROOT=..
- # gb: compile/link against local install
- GC+= -I $(GBROOT)/_obj
- LD+= -L $(GBROOT)/_obj
- # gb: default target is in GBROOT this way
- command:
- include $(GOROOT)/src/Make.cmd
- # gb: copy to local install
- $(GBROOT)/bin/$(TARG): $(TARG)
- mkdir -p $(dir $@); cp -f $< $@
- command: $(GBROOT)/bin/$(TARG)