Code cleanup
This commit is contained in:
parent
6a58c425b2
commit
9664cf16b5
@ -1402,9 +1402,9 @@ static int _target_object(Makefile * makefile,
|
|||||||
switch(source_type(extension))
|
switch(source_type(extension))
|
||||||
{
|
{
|
||||||
case OT_ASM_SOURCE:
|
case OT_ASM_SOURCE:
|
||||||
_makefile_print(makefile, "\n%s%s%s\n%s%s",
|
_makefile_print(makefile, "\n%s%s%s",
|
||||||
target, "_OBJS = $(OBJDIR)", target,
|
target, "_OBJS = $(OBJDIR)", target);
|
||||||
target, "_ASFLAGS ="
|
_makefile_print(makefile, "\n%s%s", target, "_ASFLAGS ="
|
||||||
" $(ASFLAGSF) $(ASFLAGS)");
|
" $(ASFLAGSF) $(ASFLAGS)");
|
||||||
if((p = _makefile_get_config(makefile, target,
|
if((p = _makefile_get_config(makefile, target,
|
||||||
"asflags")) != NULL)
|
"asflags")) != NULL)
|
||||||
@ -1412,10 +1412,10 @@ static int _target_object(Makefile * makefile,
|
|||||||
_makefile_print(makefile, "%c", '\n');
|
_makefile_print(makefile, "%c", '\n');
|
||||||
break;
|
break;
|
||||||
case OT_ASMPP_SOURCE:
|
case OT_ASMPP_SOURCE:
|
||||||
_makefile_print(makefile, "\n%s%s%s\n%s%s%s",
|
_makefile_print(makefile, "\n%s%s%s", target,
|
||||||
target, "_OBJS = $(OBJDIR)", target,
|
"_OBJS = $(OBJDIR)", target);
|
||||||
target, "_ASFLAGS = $(", target,
|
_makefile_print(makefile, "\n%s%s%s", target,
|
||||||
"_CPPFLAGS)");
|
"_ASFLAGS = $(", target, "_CPPFLAGS)");
|
||||||
if((p = _makefile_get_config(makefile, target,
|
if((p = _makefile_get_config(makefile, target,
|
||||||
"cppflags")) != NULL)
|
"cppflags")) != NULL)
|
||||||
_makefile_print(makefile, " %s", p);
|
_makefile_print(makefile, " %s", p);
|
||||||
|
Loading…
Reference in New Issue
Block a user