diff options
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | Makefile.libretro | 12 |
2 files changed, 17 insertions, 0 deletions
@@ -177,6 +177,11 @@ CPU:=i686 endif endif +#Haiku uses a different name for 32bit +ifeq ($(CPU),BePC) +CPU:=i686 +endif + TRANSOBJS=gen.o backend.o $(MEM) arena.o tern.o M68KOBJS=68kinst.o diff --git a/Makefile.libretro b/Makefile.libretro index b48532d..3650a9b 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -29,6 +29,18 @@ else ifneq ($(findstring Darwin,$(UNAME)),) ABI := x86_64 target = libblastem.dylib libname = blastem_libretro.dylib +else ifneq ($(findstring Haiku,$(UNAME)),) + platform = haiku + OS :=Haiku +ifeq ($(UNAMEM),x86_64) + ABI :=x86_64 + CC ?=gcc +else + ABI :=i686 + CC :=gcc-x86 +endif + target = libblastem.so + libname = blastem_libretro.so else platform = linux OS :=Linux |