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
This commit is contained in:
parent
f683b788d0
commit
94782cf761
7
Jamrules
7
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.
|
||||
|
Loading…
Reference in New Issue
Block a user