From 081debe87824a5df6d1ccfcc01b931685713b29f Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 19 Nov 2004 15:42:06 +0000 Subject: [PATCH] Fixed treatment of source files in UseArchObjectHeaders and SourceHdrs. Grist/object suffix were not set correctly. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10026 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- Jamrules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jamrules b/Jamrules index 2ff2f728d7..71b8e8a6d4 100644 --- a/Jamrules +++ b/Jamrules @@ -1046,7 +1046,7 @@ rule SourceHdrs [ on $(file) return $(HDRS) ] ] ; } } else { - for file in $(sources) { + for file in $(sources:S=$(SUFOBJ)) { ObjectHdrs $(file) : $(headers) ; # also reformat the assembler headers ASHDRS on $(file) = [ FIncludes $(SEARCH_SOURCE) $(SUBDIRHDRS) @@ -1217,7 +1217,7 @@ rule UseArchObjectHeaders if $(objects) { targets = $(objects) ; } else { - targets = $(sources) ; + targets = [ FGristFiles $(sources:S=$(SUFOBJ)) ] ; } local opt = -D$(OBOS_TARGET_DEFINE) ;