ketotrack/Makefile

17 lines
246 B
Makefile
Raw Normal View History

2024-05-12 20:13:35 +00:00
GOCMD=go
GOBUILD=$(GOCMD) build
GOCLEAN=$(GOCMD) clean
2024-05-12 20:15:50 +00:00
CLI_BINARY_NAME=ketotrack
2024-05-12 20:13:35 +00:00
CLI_BUILD_DIR=./cmd/cli
.PHONY: all cli clean test
all: cli
cli:
$(GOBUILD) -o $(CLI_BINARY_NAME) $(CLI_BUILD_DIR)
clean:
$(GOCLEAN)
rm -f $(CLI_BINARY_NAME)