Makefile add Darwin uname

This commit is contained in:
Zack Buhman 2025-12-09 16:18:01 -06:00
parent c6f2852242
commit c52e3994ca

View File

@ -44,7 +44,11 @@ else
OBJARCH = -O elf64-x86-64 -B i386:x86-64 OBJARCH = -O elf64-x86-64 -B i386:x86-64
endif endif
else else ifeq ($(shell uname),Darwin)
OBJARCH += -O mach-o-x86-64 -B i386:x86-64
else # assume Windows
ifdef I386 ifdef I386
OBJARCH += -O pe-i386 -B i386 OBJARCH += -O pe-i386 -B i386