From 7584e797621a874e230bc949932b6b174d04daa9 Mon Sep 17 00:00:00 2001 From: Matthieu Grieger Date: Sat, 13 Dec 2014 16:05:15 -0800 Subject: [PATCH] Add Makefile --- Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..84e5071 --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +all: mumbledj + +mumbledj: main.go commands.go parseconfig.go strings.go + go build . + +clean: + rm -f mumbledj + +create_dirs: + mkdir ~/.mumbledj + mkdir ~/.mumbledj/config + mkdir ~/.mumbledj/songs + +install: + sudo cp -f mumbledj /usr/local/bin/mumbledj + mkdir -p ~/.mumbledj/config + mkdir -p ~/.mumbledj/songs + cp -u config.toml ~/.mumbledj/config/config.toml + +install_deps: + go get -u github.com/layeh/gumble/gumble + go get -u github.com/layeh/gumble/gumbleutil + go get -u github.com/layeh/gumble/gumble_ffmpeg + go get -u github.com/BurntSushi/toml