SOURCES=$(shell find . -not -path "./cmd/*" -type f -name "*.go")
all: bin/server bin/generate
bin/server: cmd/server.go $(SOURCES)
go build -o $@ $<
bin/generate: cmd/generate.go $(SOURCES)
clean:
rm -rf bin/