view service/pilight/makefile @ 1153:e4f49cd9dda3

add :pointsAtLeastEvery control Ignore-this: 9d0236b56b2a7592211ca68b87b4a5d1 darcs-hash:76e4d358cb6b039351c9b6f8e3bb825aaaefcc57
author drewp <drewp@bigasterisk.com>
date Sun, 15 Apr 2018 04:41:00 -0700
parents 2f90baff50dc
children
line wrap: on
line source

GOPATH=$(shell pwd)
export GOPATH
build: deps
	go build pilight.go

deps: src/github.com/tarm/goserial src/github.com/go-martini/martini

src/github.com/tarm/goserial:
	go get github.com/tarm/goserial
src/github.com/go-martini/martini:
	go get github.com/go-martini/martini

setup:
	ln -s . public

build-to-pi: deps
	GOBIN=bin-pi GOARCH=arm go install pilight.go
	rsync -a bin-pi/pilight pi@192.168.1.157:projects/homeauto/service/pilight/bin/