Code cleanup (re-wrap)

This commit is contained in:
Pierre Pronchery 2017-04-30 00:49:09 +02:00
parent 0693c4cb1a
commit 805a3a4dd0

View File

@ -1351,8 +1351,9 @@ static int _target_object(Configure * configure, FILE * fp,
switch(_source_type(extension)) switch(_source_type(extension))
{ {
case OT_ASM_SOURCE: case OT_ASM_SOURCE:
_makefile_print(fp, "\n%s%s%s%s\n%s%s", target, "_OBJS = ", _makefile_print(fp, "\n%s%s%s%s\n%s%s",
"$(OBJDIR)", target, target, "_ASFLAGS =" target, "_OBJS = ", "$(OBJDIR)", target,
target, "_ASFLAGS ="
" $(CPPFLAGSF) $(CPPFLAGS) $(ASFLAGSF)" " $(CPPFLAGSF) $(CPPFLAGS) $(ASFLAGSF)"
" $(ASFLAGS)"); " $(ASFLAGS)");
if((p = config_get(configure->config, target, if((p = config_get(configure->config, target,
@ -1362,8 +1363,9 @@ static int _target_object(Configure * configure, FILE * fp,
break; break;
case OT_C_SOURCE: case OT_C_SOURCE:
case OT_OBJC_SOURCE: case OT_OBJC_SOURCE:
_makefile_print(fp, "\n%s%s%s%s\n%s%s", target, "_OBJS = ", _makefile_print(fp, "\n%s%s%s%s\n%s%s",
"$(OBJDIR)", target, target, "_CFLAGS =" target, "_OBJS = ", "$(OBJDIR)", target,
target, "_CFLAGS ="
" $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF)" " $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF)"
" $(CFLAGS)"); " $(CFLAGS)");
if((p = config_get(configure->config, target, "cflags")) if((p = config_get(configure->config, target, "cflags"))
@ -1373,8 +1375,9 @@ static int _target_object(Configure * configure, FILE * fp,
break; break;
case OT_CXX_SOURCE: case OT_CXX_SOURCE:
case OT_OBJCXX_SOURCE: case OT_OBJCXX_SOURCE:
_makefile_print(fp, "\n%s%s%s%s\n%s%s", target, "_OBJS = ", _makefile_print(fp, "\n%s%s%s%s\n%s%s",
"$(OBJDIR)", target, target, "_CXXFLAGS =" target, "_OBJS = ", "$(OBJDIR)", target,
target, "_CXXFLAGS ="
" $(CPPFLAGSF) $(CPPFLAGS)" " $(CPPFLAGSF) $(CPPFLAGS)"
" $(CXXFLAGS)"); " $(CXXFLAGS)");
if((p = config_get(configure->config, target, if((p = config_get(configure->config, target,