Code cleanup

This commit is contained in:
Pierre Pronchery 2018-06-18 23:32:07 -04:00
parent b7e80e98f6
commit 123d6709a7

View File

@ -1848,9 +1848,8 @@ static int _target_source(Makefile * makefile,
ret = _source_subdir(makefile, source); ret = _source_subdir(makefile, source);
q = _makefile_get_config(makefile, source, "vflags"); q = _makefile_get_config(makefile, source, "vflags");
source[len] = '\0'; source[len] = '\0';
_makefile_print(makefile, "%s", "$(VERILOG)"); _makefile_print(makefile, "%s%s%s", "$(VERILOG) $(",
_makefile_print(makefile, "%s%s%s", " $(", target, target, "_VFLAGS)");
"_VFLAGS)");
if(q != NULL) if(q != NULL)
_makefile_print(makefile, " %s", q); _makefile_print(makefile, " %s", q);
if(tt == TT_OBJECT) if(tt == TT_OBJECT)