~kris/9p

disco

ref: 8e24774a4f3cbb208a7fa8cf667a953526dfc336 disco/mkfile -rw-r--r-- 224 bytes
8e24774a — Sean Hinchee migrate to ndb config in $home/lib/disco.ndb ;; clean up some error messages and factotum handling 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
	}