From 94782cf7613af753ee00be756c5404372478182f Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 24 Jul 2002 18:13:59 +0000 Subject: [PATCH] Made the assemble rule more like As. Why do we need assemble anyway? Any reason not to use As? git-svn-id: file:///srv/svn/repos/haiku/trunk/current@421 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- Jamrules | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Jamrules b/Jamrules index 178cb1697d..b3622a4e26 100644 --- a/Jamrules +++ b/Jamrules @@ -946,13 +946,14 @@ actions MimeSet rule assemble { - Depends $(1) : $(2) ; - LocalClean clean : $(1) ; + Depends $(<) : $(>) ; + ASFLAGS on $(<) += $(ASFLAGS) $(SUBDIRASFLAGS) ; + ASHDRS on $(<) = [ FIncludes $(SEARCH_SOURCE) $(SUBDIRHDRS) $(HDRS) ] ; } actions assemble { - $(CC) -c "$(2)" -O2 $(KERNEL_CCFLAGS) -o "$(1)" ; + $(CC) -c "$(2)" -O2 $(ASFLAGS) $(KERNEL_CCFLAGS) $(ASHDRS) -o "$(1)" ; } # Overridden to allow spaces in file names.