~kris/9p

disco

ref: 52272f062092fc447d2c71dfb2493c86a8e8c4ff disco/mkfile -rw-r--r-- 224 bytes
52272f06 — Sean Hinchee more docs 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
	}