From 11fa3682945c2af4f9200e4e3b5a749407507f82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Tue, 1 Jun 2004 09:10:21 +0000 Subject: [PATCH] BinCommand and StdBinCommand rules now accept a resource file git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7715 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- Jamrules | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Jamrules b/Jamrules index e97e6c5d89..69c4dc8825 100644 --- a/Jamrules +++ b/Jamrules @@ -363,9 +363,10 @@ rule App rule BinCommand { - # BinCommand : : ; + # BinCommand : : : ; SetupIncludes ; SetupObjectsDir ; + AddResources $(1) : $(4) ; Main $(1) : $(2) ; MakeLocate $(1) : $(OBOS_BIN_DIR) ; LinkSharedOSLibs $(1) : $(3) ; @@ -375,17 +376,18 @@ rule BinCommand rule StdBinCommands { - # StdBinCommands : ; + # StdBinCommands : : ; SetupIncludes ; SetupObjectsDir ; local libs = $(2) ; + local ress = $(3) ; local source ; for source in $(1) { local target = $(source:S=) ; target = [ FGristFiles $(target) ] ; - BinCommand $(target) : $(source) : $(libs) ; + BinCommand $(target) : $(source) : $(libs) : $(ress) ; } }