mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-01 05:07:40 +00:00
Fixes #5700. Adds support for arm64 (M1) to textinputsource in the Keyman app. All other executables are already fat with support for both x86_64 and arm64.
9 lines
368 B
Makefile
9 lines
368 B
Makefile
# Build textinputsource for multiple architectures
|
|
textinputsource: textinputsource.x86_64 textinputsource.arm64
|
|
lipo -create -output $@ $<
|
|
|
|
textinputsource.x86_64: main.c
|
|
xcrun -sdk macosx $(CC) $< -framework Carbon -o $@ -target x86_64-apple-macos10.12
|
|
|
|
textinputsource.arm64: main.c
|
|
xcrun -sdk macosx $(CC) $< -framework Carbon -o $@ -target arm64-apple-macos11
|