Skip to content

Commit

Permalink
#219: Add support for ARM builds (#220)
Browse files Browse the repository at this point in the history
* #219: Add support for ARM builds

* Also add Amiga support while we are onto it... Amiga forever!

* Fix Makefile stuff for Amiga
  • Loading branch information
mcdope committed Jan 4, 2024
1 parent 2c1e20f commit 62e9219
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 62e9219

Please sign in to comment.