Do not clean objects for scripts
This commit is contained in:
parent
e03e911ac3
commit
48e004bb22
@ -2012,7 +2012,9 @@ static int _clean_targets(Makefile * makefile)
|
|||||||
continue;
|
continue;
|
||||||
c = targets[i];
|
c = targets[i];
|
||||||
targets[i] = '\0';
|
targets[i] = '\0';
|
||||||
if(_makefile_get_type(makefile, targets) != TT_COMMAND)
|
if(_makefile_get_type(makefile, targets) != TT_COMMAND
|
||||||
|
&& _makefile_get_type(makefile, targets)
|
||||||
|
!= TT_SCRIPT)
|
||||||
_makefile_print(makefile, "%s%s%s", " $(", targets,
|
_makefile_print(makefile, "%s%s%s", " $(", targets,
|
||||||
"_OBJS)");
|
"_OBJS)");
|
||||||
if(c == '\0')
|
if(c == '\0')
|
||||||
|
Loading…
Reference in New Issue
Block a user