support for cobcd --save-temps (= FR to default to cleanup)
This option is passed 1:1 to cobc
, which is fine.
The actual issue is that cobcd does not do any cleanup at all, leaving the following files around:
PROG.cbl.lst
PROG.o
PROG.s
PROG.sym.c
PROG.sym.o --> does not exist if the last remark of #10 is handled
All of those files should only be left if cobcd --save-temps
was used, otherwise they should be unlinked.
The following files are related to cobc
which omits the cleanup when -g
is used, we may/may not remove those, too (I tend to keep them):
PROG.c
PROG.c.h
PROG.c.l.h
PROG.i