Multi-architecture build with make ARCH=x86.
This commit is contained in:
@@ -7,8 +7,11 @@ FRAMEWORKS = -framework Cocoa -framework IOKit -framework ServiceManagement
|
||||
MACOS_VERSION = 13.0
|
||||
EXEC = Caffeine
|
||||
|
||||
ifeq ($(ARCH),X86)
|
||||
TARGET = x86_64-apple-macos$(MACOS_VERSION)
|
||||
else
|
||||
TARGET = arm64-apple-macos$(MACOS_VERSION)
|
||||
# TARGET = x86_64-apple-macos$(MACOS_VERSION)
|
||||
endif
|
||||
|
||||
default: $(EXEC) $(EXEC).app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user