Changeset fc349e2cf15e1e11664eb67f38cf4acd59fe042c

User picture

Commiter: Charles Childers

Author: Charles Childers

Parent: 229c739342

(2010/03/11 01:12) Almost 2 years ago

also remove embedded retroImage

Affected files

Updated vm/golang/gonga.go Download diff

229c7393422c788b47fb6fe491fad591fe049d3ffc349e2cf15e1e11664eb67f38cf4acd59fe042c
37
var size = flag.Int("s", 50000, "image size")
37
var size = flag.Int("s", 50000, "image size")
38
var dump = flag.String("d", "retro.img", "image dump file")
38
var dump = flag.String("d", "retro.img", "image dump file")
39
var verbose = flag.Bool("v", false, "verbose output")
39
var verbose = flag.Bool("v", false, "verbose output")
40
var retroImage = [...]int{}
40
41
41
func perror(s ...interface{}) {
42
func perror(s ...interface{}) {
42
	if *verbose {
43
	if *verbose {

Updated vm/golang/Makefile Download diff

229c7393422c788b47fb6fe491fad591fe049d3ffc349e2cf15e1e11664eb67f38cf4acd59fe042c
3
TARG=ngaro
3
TARG=ngaro
4
GOFILES=ngaro.go
4
GOFILES=ngaro.go
5
5
6
gonga: ./$(TARG).a gonga.go image.go
6
gonga: ./$(TARG).a gonga.go
7
	$(GC) -o gonga.$O image.go gonga.go
7
	$(GC) -o gonga.$O gonga.go
8
	$(LD) -o $@ gonga.$O
8
	$(LD) -o $@ gonga.$O
9
9
10
./$(TARG).a: ./_obj/$(TARG).a
10
./$(TARG).a: ./_obj/$(TARG).a