17 lines
No EOL
329 B
Makefile
17 lines
No EOL
329 B
Makefile
# Go parameters
|
|
GoCMD=go
|
|
GoBUILD=$(GoCMD) build
|
|
GoCLEAN=$(GoCMD) clean
|
|
GoTEST=$(GoCMD) test
|
|
GoMOD=$(GoCMD) mod
|
|
BINARY_NAME=frequency
|
|
|
|
# To install GoLang please follow the installation instructions on https://go.dev/
|
|
all: build
|
|
build:
|
|
$(GoBUILD) -o $(BINARY_NAME) -v
|
|
clean:
|
|
$(GOCLEAN)
|
|
rm -f $(BINARY_NAME)
|
|
deps:
|
|
$(GoMOD) tidy
|