more building

This commit is contained in:
David Dollar
2013-08-29 18:43:12 -04:00
parent ceaf98ab88
commit 7660125b15
2 changed files with 13 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
/forego
/forego*
+12 -1
View File
@@ -11,8 +11,19 @@ clean:
install: forego
cp $< ${GOPATH}/bin/
release: build
lint: $(SRC)
go fmt
dist: forego-linux forego-osx forego-windows
forego-linux: $(SRC)
env GOOS=linux GOARCH=386 go build -o $@
forego-osx: $(SRC)
env GOOS=darwin GOARCH=386 go build -o $@
forego-windows: $(SRC)
env GOOS=windows GOARCH=386 go build -o $@
$(BIN): $(SRC)
go build -o $@ $(SRC)