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:
Ingo Weinhold 2002-07-24 18:13:59 +00:00
parent f683b788d0
commit 94782cf761
1 changed files with 4 additions and 3 deletions

View File

@ -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.