~kris/9p

disco

ref: eb726b9cc2548b6da1dc6fdd102b3080528163e2 disco/mkfile -rw-r--r-- 224 bytes
eb726b9c — Sean Hinchee document spooky bug 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
	}