This repository has been archived on 2019-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
mumbledj/Makefile
Matthieu Grieger 7584e79762 Add Makefile
2014-12-13 16:05:15 -08:00

25 lines
565 B
Makefile

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