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