Files
ut-agones/Makefile
2025-07-27 23:35:04 +02:00

17 lines
253 B
Makefile

SRCS != find ./ -type f -name '*.go'
GO ?= go
BIN_DIR ?= bin
BIN_NAME ?= urbanterror-agones
bin: ${SRCS}
${GO} build -o ${BIN_DIR}/${BIN_NAME} ./cmd/urbanterror-agones/
test: bin
${GO} test ./...
run: bin
${BIN_DIR}/${BIN_NAME}
.PHONY: test run