Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit a685580

Browse files
committed
Use lower case for target name in Makefile
Signed-off-by: Mathieu Champlon <[email protected]>
1 parent 74dd14e commit a685580

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@ endif
3535

3636
all: bin test
3737

38-
CHECK_GO_ENV:
38+
check_go_env:
3939
@test $$(go list) = "$(PKG_NAME)" || \
4040
(echo "Invalid Go environment" && false)
4141

42-
bin: CHECK_GO_ENV
42+
bin: check_go_env
4343
@echo "Building _build/$(BIN_NAME)$(EXEC_EXT)..."
4444
go build -ldflags=$(LDFLAGS) -i -o _build/$(BIN_NAME)$(EXEC_EXT)
4545

4646
OS_LIST ?= darwin linux windows
47-
bin-all: CHECK_GO_ENV
47+
bin-all: check_go_env
4848
@echo "Building for all platforms..."
4949
$(foreach OS, $(OS_LIST), GOOS=$(OS) go build -ldflags=$(LDFLAGS) -i -o _build/$(TAG)/$(BIN_NAME)-$(OS)$(if $(filter windows, $(OS)),.exe,) || exit 1;)
5050

0 commit comments

Comments
 (0)