build: Use `del` instead of `rm` on `cmd.exe` shells
authorSimon Richter <Simon.Richter@hogyros.de>
Tue, 22 Dec 2015 21:45:33 +0000 (22:45 +0100)
committerAndrea Canciani <ranma42@gmail.com>
Wed, 23 Dec 2015 20:24:17 +0000 (21:24 +0100)
commitaf0689716a011de3645aaefc57138c9d1d0e3ae6
tree845adaf81de7fc8ffef725cf52af2e401182c13d
parent93b876c11063f58c87fd93ed41e4d3f483bf59ab
build: Use `del` instead of `rm` on `cmd.exe` shells

The `rm` command is not usually available when running on Win32 in a
`cmd.exe` shell. Instead the shell provides the `del` builtin, which
has somewhat more limited wildcars expansion and error handling.

This makes all of the Makefile targets work on Win32 both using
`cmd.exe` and using the MSYS environment.

Signed-off-by: Simon Richter <Simon.Richter@hogyros.de>
Signed-off-by: Andrea Canciani <ranma42@gmail.com>
Acked-by: Oded Gabbay <oded.gabbay@gmail.com>
Makefile.win32.common