~kris/9p

disco

ref: 7e5e6c4ec0396a14304f187487ab52943689a21b disco/mkfile -rw-r--r-- 224 bytes
7e5e6c4e — Sean Hinchee add getdeps.rc script for fetching dependencies without dgit 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
	}