Skip to content

Commit

Permalink
make: windows fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Aug 3, 2023
1 parent 863a393 commit b79b135
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions makefiles/Makefile.port.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ BACKSLASH_SPACE := $(empty)\ $(empty)

# Let's discover something about where we run
ifeq ($(OS),Windows_NT)
OS = Windows
OS := Windows
endif
ifeq ($(OS),Windows)
PLATFORM=WIN64
SHELL = cmd.exe
PLATFORM := WIN64
SHELL := cmd.exe
endif

# Unix specific part.
Expand Down Expand Up @@ -164,7 +164,7 @@ ifneq ($(PLATFORM),WIN64)
else # Windows specific part.
# Check 64 bit.
ifneq ("$(Platform)","x64") # Visual Studio 2019/2022 64 bit
$(warning "Only 64 bit compilation is supported")
$(error "Only 64 bit compilation is supported")
else
CPU = x64
endif
Expand Down

0 comments on commit b79b135

Please sign in to comment.