~kris/9p

disco

ref: 6253e6bee83073ea1d5d4ade9e2d4d7076cb8303 disco/mkfile -rw-r--r-- 224 bytes
6253e6be — Sean Hinchee run go (vet fmt) 7 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
GOOS=plan9
GOARCH=$objtype

all: 
	go build

install: all
	cp ./disco $home/bin/$GOARCH/disco

bins: 
	arch=(amd64 386 arm)
	mkdir bin
	for(a in $arch){
		mkdir bin/$a
		GOARCH=$a go build
		cp disco bin/^$a^/
		rm disco
	}