

all: build install

build:
	@echo "Building application"
	GOPATH=$(shell pwd) go build

install:
	@echo "Installing binary file"
	@rm -f /usr/local/bin/gpsd
	cp gpsd /usr/local/bin