From 78599cf01dffd9c3af0cdf1edc4ca9157502d4af Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 10 Jul 2002 17:54:11 +0000 Subject: [PATCH] Changed build target directory to \*.R1 and simplified AddResources rule. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@45 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- Jamrules | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/Jamrules b/Jamrules index a1f4c5161c..d397769a5a 100644 --- a/Jamrules +++ b/Jamrules @@ -14,12 +14,12 @@ # Cross compiling can come later if $(METROWERKS) { - OBOS_TARGET ?= "ppc.R5" ; + OBOS_TARGET ?= "ppc.R1" ; OBOS_TARGET_TYPE ?= "application/x-be-executable" ; OBOS_ARCH ?= "ppc" ; OBOS_TARGET_DEFINE ?= "ARCH_ppc" ; } else { - OBOS_TARGET ?= "x86.R5" ; + OBOS_TARGET ?= "x86.R1" ; OBOS_TARGET_TYPE ?= "application/x-vnd.Be-elfexecutable" ; OBOS_ARCH ?= "x86" ; OBOS_TARGET_DEFINE ?= "ARCH_x86" ; @@ -356,15 +356,8 @@ rule AddResources { # AddResources : ; - local dir; - - dir = [ FDirName $(OBOS_TOP) $(SUBDIR_TOKENS) ] ; - - for i in $(>) - { - RESFILES on $(<) = [ FDirName $(dir) $(i) ] ; - DEPENDS $(<) : [ FDirName $(dir) $(i) ] ; - } + SEARCH on $(2) = $(SEARCH_SOURCE) ; + RESFILES on $(1) += $(2) ; } rule PublicHeaders