1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 13:50:36 +00:00

Fix BUILD_QB64=y usage on Windows

BUILD_QB64=y sets the default EXE name to 'qb64', which is actually
wrong on Windows because it does not include the `.exe` extention. It
also works anyway but `objcopy` doesn't recognize the file without the
extension present.
This commit is contained in:
Matthew Kilgore 2022-05-15 17:12:17 -04:00
parent b110e816c7
commit b5ea3a081d

View file

@ -84,7 +84,11 @@ else
endif
ifdef BUILD_QB64
EXE ?= qb64
ifeq ($(OS),win)
EXE ?= qb64.exe
else
EXE ?= qb64
endif
else
ifneq ($(filter clean,$(MAKECMDGOALS)),)