diff --git a/Makefile b/Makefile index 6db48b9..450074c 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,19 @@ build-dmrstream: go build ./cmd/dmrstream/ @ls -alh dmrstream -deps: godeps oggfwd +deps: godeps deps-platform oggfwd + +deps-platform: + @echo "For OS X: make deps-brew" + @echo "For Debian: make deps-debian" + +deps-brew: + brew install --HEAD mbelib + brew install lame + brew install sox + +deps-debian: + sudo apt-get install lame sox godeps: go get -v $(shell go list -f '{{ join .Deps "\n" }}' ./... | sort -u | egrep '(gopkg|github)' | grep -v '/tehmaze/go-dmr')