Closed baldurmen closed 5 years ago
For a little context, I'm working on packaging the tomu bootloader in Debian and if that patch was merged, it would simplify cleaning after the build process :D
Unfortunately, adding the entire object directory causes issues when building on Windows:
❯ make clean
" RM "
The syntax of the command is incorrect.
make: [Makefile:100: clean] Error 1 (ignored)
" RM .obj"
C:\Users\sean\Code\tomu\baldurmen-bl\toboot\.obj\*, Are you sure (Y/N)?
Modifying the Windows command to del /q
seems to solve the problem on that platform. I'll add that, and merge the changes.
Thanks for the PR!
In either the
toboot
or thebooster
directories,make clean
leaves files behind. This patch modifies the Makefiles so thatmake clean
cleans everything that was built withmake
.Before the patch:
After the patch:
I'm not sure what
$(PACKAGE).symbol
was and since that file didn't seem to exist, I removed it fromclean
in both files.