From 62e92191b3a8ea9d135670e0eee04fa90c104e57 Mon Sep 17 00:00:00 2001 From: McDope Date: Thu, 4 Jan 2024 14:57:27 +0100 Subject: [PATCH] #219: Add support for ARM builds (#220) * #219: Add support for ARM builds * Also add Amiga support while we are onto it... Amiga forever! * Fix Makefile stuff for Amiga --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 764f136d..79a85ee2 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,15 @@ endif ifeq ($(ARCH), i686) LIBDIR ?= lib endif +ifeq ($(ARCH), aarch64) # ARM64, i.e Apple silicon and other up2date CPUs/SoCs + LIBDIR ?= lib/aarch64-linux-gnu +endif +ifeq ($(ARCH), armv7l) # ARM32, i.e Raspberries + LIBDIR ?= lib/arm-linux-gnueabihf +endif +ifeq ($(ARCH), m68k-linux-gnu) # Motorola 68k - Amiga forever + LIBDIR ?= lib/m68k-linux-gnu +endif # compiler/linker options CC := gcc