GNU make on Windows first tries to find sh.exe on the path, and will execute build rules using it if it is present. The make clean target uses the builtin cmd.exe command del, which won't work under sh.exe The reason this is not done for the entire Makefile is because it would break cross-compilation of raylib.pull/2340/head