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:
@@ -946,13 +946,14 @@ actions MimeSet
|
|||||||
|
|
||||||
rule assemble
|
rule assemble
|
||||||
{
|
{
|
||||||
Depends $(1) : $(2) ;
|
Depends $(<) : $(>) ;
|
||||||
LocalClean clean : $(1) ;
|
ASFLAGS on $(<) += $(ASFLAGS) $(SUBDIRASFLAGS) ;
|
||||||
|
ASHDRS on $(<) = [ FIncludes $(SEARCH_SOURCE) $(SUBDIRHDRS) $(HDRS) ] ;
|
||||||
}
|
}
|
||||||
|
|
||||||
actions assemble
|
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.
|
# Overridden to allow spaces in file names.
|
||||||
|
|||||||
Reference in New Issue
Block a user