Have make clean delete all generated .o files

Especially important if the file structure changes, to avoid
leaving stale object files in non-fresh repos.
This commit is contained in:
ISSOtm
2019-09-07 12:14:56 +00:00
parent 2fe4521a96
commit 5902306271

View File

@@ -129,12 +129,13 @@ rgbgfx: ${rgblink_obj}
# for the html documentation.
clean:
$Q${RM} rgbasm rgbasm.exe ${rgbasm_obj}
$Q${RM} rgblink rgblink.exe ${rgblink_obj}
$Q${RM} rgbfix rgbfix.exe ${rgbfix_obj}
$Q${RM} rgbgfx rgbgfx.exe ${rgbgfx_obj}
$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} 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