Make: Fix target name for Windows platform (#7370)
This fixes the taget name by adding .exe extension for Windows platform.
Otherwise, the following error is shown with `make bin/gh.exe' command.
make: *** No rule to make target 'script/build', needed by 'bin/gh.exe'. Stop.
This commit is contained in:
parent
8b987e2deb
commit
591fcafd9c
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -13,8 +13,8 @@ endif
|
|||
## The following tasks delegate to `script/build.go` so they can be run cross-platform.
|
||||
|
||||
.PHONY: bin/gh$(EXE)
|
||||
bin/gh$(EXE): script/build
|
||||
@script/build $@
|
||||
bin/gh$(EXE): script/build$(EXE)
|
||||
@script/build$(EXE) $@
|
||||
|
||||
script/build$(EXE): script/build.go
|
||||
ifeq ($(EXE),)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue