all: tg-broker clessy-mods clessy-stats

deps:
	go get github.com/boltdb/bolt/...
	go get github.com/golang/freetype
	go get github.com/llgcode/draw2d
	go get github.com/llgcode/draw2d/draw2dimg
	go get github.com/disintegration/imaging
	go get github.com/simon-weber/gomarkov

install-tg:
	go get -u git.fromouter.space/hamcha/tg

tg-broker: install-tg
	go get -u git.fromouter.space/hamcha/tg/cmd/tg-broker

clessy-mods: install-tg
	go build -o clessy-mods git.fromouter.space/hamcha/clessy/mods

clessy-stats: install-tg
	go build -o clessy-stats git.fromouter.space/hamcha/clessy/stats

clessy-stats-import: install-tg
	go build -o clessy-stats-import git.fromouter.space/hamcha/clessy/stats-import

clean:
	rm -f clessy-mods clessy-stats