comparison service/pilight/makefile @ 948:faefd71c45ae

makefile rearrange Ignore-this: 2afd5660be2972a3d619ba1add3384c2 darcs-hash:20140712233528-312f9-b0cc27d1d1568ca17546dc4d7327ff274b11e6e8
author drewp <drewp@bigasterisk.com>
date Sat, 12 Jul 2014 16:35:28 -0700
parents e0f13a6b00ee
children c2647173b60a
comparison
equal deleted inserted replaced
947:e0f13a6b00ee 948:faefd71c45ae
1 GOPATH=$(shell pwd) 1 GOPATH=$(shell pwd)
2 export GOPATH 2 export GOPATH
3 build: 3 build: deps
4 go build pilight.go 4 go build pilight.go
5 5
6 deps: src/github.com/tarm/goserial src/github.com/go-martini/martini
7
8 src/github.com/tarm/goserial:
9 go get github.com/tarm/goserial
10 src/github.com/go-martini/martini:
11 go get github.com/go-martini/martini
12
6 setup: 13 setup:
7 go get github.com/tarm/goserial
8 go get github.com/go-martini/martini
9 ln -s . public 14 ln -s . public
10 # also need static/polymer/ to be polymer 0.2.3 15 @echo also need static/polymer/ to be polymer 0.2.3
11 16
17 build-to-pi: deps
18 GOBIN=bin-pi GOARCH=arm go install pilight.go
19 rsync -a bin-pi/pilight pi@192.168.1.157:projects/homeauto/service/pilight/bin/