Ugly fix for cleaning directories in Windows

parent cc19d443
......@@ -134,6 +134,10 @@ class ToolMakefile(object):
tmp = "\t\t" + path_mod.del_command() + \
" $(LIBS) " + ' '.join(self._clean_targets["clean"])
self.writeln(tmp)
if path_mod.check_windows():
tmp = "\t\trmdir /s /q" + \
" $(LIBS) " + ' '.join(self._clean_targets["clean"])
self.writeln(tmp)
def makefile_mrproper(self):
"""Print the Makefile target for cleaning final files"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment