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:
ISSOtm
2019-09-25 03:17:36 +02:00
parent dab5f59ed9
commit 0f4d543aeb

View File

@@ -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