In LaTeX template, "make clean" should in, as intended, delete all intermediate files generated by the LaTeX/BibTeX software.
However, in my case (Ubuntu, WSL), many of such file are left, including: .abs, .aux, .bbl, .blg, .log and .out files.
The line responsible for this is this:
-rm -f *.{log,toc,tac,aux,dvi,ps,bbl,blg,tmp,nav,out,snm,vrb,rel,cut,abs,xmpi,xmpdata,*~}
It seems that the shell does not recognize the above syntax (probably because the /bin/sh is used not bash which supports more fancy syntax options).
The solution would be either simpler syntax of a different shell.