From de6388a719742c47fc1db364aaa79deab3f188b0 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Sun, 15 Feb 2009 12:51:39 -0700 Subject: [PATCH] fix powerpc/interpret build --- makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/makefile b/makefile index 56bff60078..9bc47fbbbc 100644 --- a/makefile +++ b/makefile @@ -4,7 +4,7 @@ name = avian version = 0.1.1 build-arch = $(shell uname -m | sed 's/^i.86$$/i386/') -ifeq ($(build-arch),Power) +ifeq (Power,$(filter Power,$(build-arch))) build-arch = powerpc endif @@ -211,8 +211,7 @@ vm-sources = \ $(src)/$(process).cpp \ $(src)/builtin.cpp \ $(src)/jnienv.cpp \ - $(src)/process.cpp \ - $(src)/$(asm).cpp + $(src)/process.cpp vm-asm-sources = $(src)/$(asm).S @@ -221,7 +220,9 @@ ifeq ($(process),compile) $(src)/compiler.h \ $(src)/vector.h - vm-sources += $(src)/compiler.cpp + vm-sources += \ + $(src)/compiler.cpp \ + $(src)/$(asm).cpp vm-asm-sources += $(src)/compile.S endif