mirror of
https://github.com/holub/mame
synced 2025-06-26 06:14:12 +03:00
Fix PTR64 autodetect for Windows
This commit is contained in:
parent
aebc07a897
commit
f373246c42
17
makefile
17
makefile
@ -61,9 +61,11 @@ endif
|
|||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
|
|
||||||
ifndef TARGETOS
|
ifndef TARGETOS
|
||||||
|
|
||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
TARGETOS = win32
|
TARGETOS = win32
|
||||||
else
|
else
|
||||||
|
|
||||||
ifneq ($(CROSSBUILD),1)
|
ifneq ($(CROSSBUILD),1)
|
||||||
UNAME = $(shell uname -a)
|
UNAME = $(shell uname -a)
|
||||||
|
|
||||||
@ -93,8 +95,23 @@ endif
|
|||||||
|
|
||||||
endif # CROSS_BUILD
|
endif # CROSS_BUILD
|
||||||
endif # Windows_NT
|
endif # Windows_NT
|
||||||
|
|
||||||
endif # TARGET_OS
|
endif # TARGET_OS
|
||||||
|
|
||||||
|
|
||||||
|
ifeq ($(TARGETOS),win32)
|
||||||
|
|
||||||
|
# Autodetect PTR64
|
||||||
|
ifndef PTR64
|
||||||
|
ifneq (,$(findstring mingw64-w64,$(PATH)))
|
||||||
|
PTR64=1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
# configure name of final executable
|
# configure name of final executable
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
|
@ -78,18 +78,6 @@ OBJDIRS += $(WINOBJ)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------
|
|
||||||
# auto-detect PTR64
|
|
||||||
#-------------------------------------------------
|
|
||||||
|
|
||||||
ifndef PTR64
|
|
||||||
ifneq (,$(findstring mingw64-w64,$(PATH)))
|
|
||||||
PTR64=1
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
# configure the resource compiler
|
# configure the resource compiler
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user