Add Makefile
This commit is contained in:
parent
bc4091f639
commit
7584e79762
24
Makefile
Normal file
24
Makefile
Normal file
|
@ -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
|
Reference in a new issue