mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Have make clean delete all .o files in source directory
This will work better if files are rearranged in the future. This appears to be POSIX-compliant, so why wasn't it used earlier?
This commit is contained in:
10
Makefile
10
Makefile
@@ -135,13 +135,13 @@ rgbgfx: ${rgbgfx_obj}
|
||||
# for the html documentation.
|
||||
|
||||
clean:
|
||||
$Q${RM} rgbasm rgbasm.exe src/asm/*.o
|
||||
$Q${RM} rgblink rgblink.exe src/link/*.o
|
||||
$Q${RM} rgbfix rgbfix.exe src/fix/*.o
|
||||
$Q${RM} rgbgfx rgbgfx.exe src/gfx/*.o
|
||||
$Q${RM} rgbasm rgbasm.exe
|
||||
$Q${RM} rgblink rgblink.exe
|
||||
$Q${RM} rgbfix rgbfix.exe
|
||||
$Q${RM} rgbgfx rgbgfx.exe
|
||||
$Qfind src/ -name "*.o" -exec rm {} \;
|
||||
$Q${RM} src/asm/asmy.c src/asm/asmy.h
|
||||
$Q${RM} src/link/lexer.c src/link/parser.c src/link/parser.h
|
||||
$Q${RM} src/extern/*.o
|
||||
|
||||
# Target used to remove all html files generated by the wwwman target
|
||||
|
||||
|
||||
Reference in New Issue
Block a user