17 lines
246 B
Makefile
17 lines
246 B
Makefile
GOCMD=go
|
|
GOBUILD=$(GOCMD) build
|
|
GOCLEAN=$(GOCMD) clean
|
|
|
|
CLI_BINARY_NAME=ketotrack
|
|
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)
|