Since "make clean" removes the following files:
vms_messages_*.msg, ssdef.h and ssdef.msg (as instructed by CLEANFILES in makefile.unixdefs),
the subsequent make command fails to compile again:
$ make
cc -c -O4 -g "-D_FILE_OFFSET_BITS=64" -DUSE_LIBEDIT -DUSE_VHD -Ivhd -D_GNU_SOURCE -DLIBVHD_HAS_SYSLOG=0 ods2.c -o ods2.o
In file included from f11def.h:21,
from rms.h:22,
from cmddef.h:45,
from ods2.c:92:
vmstime.h:34:10: fatal error: ssdef.h: No such file or directory
34 | #include "ssdef.h"
| ^~~~~~~~~
compilation terminated.
make: *** [makefile.generic:130: ods2.o] Error 1
A bunch of git checkout commands needs to be given to restore the removed files, before it can build again. Not sure why the cleanup was chosen to be this deep (line 56):
CLEANFILES = ods2$(EXE) genmsg$(EXE) makehelp$(EXE) $(OBJS) *.mt *.md *.mdf *.hlb vms_messages_*.msg ssdef.h ssdef.msg
Deleting the last tree items from the line above makes the cleanup and the subsequent build run without the file restorations required in between.
Since "make clean" removes the following files:
vms_messages_*.msg,ssdef.handssdef.msg(as instructed byCLEANFILESinmakefile.unixdefs),the subsequent make command fails to compile again:
A bunch of
git checkoutcommands needs to be given to restore the removed files, before it can build again. Not sure why the cleanup was chosen to be this deep (line 56):Deleting the last tree items from the line above makes the cleanup and the subsequent build run without the file restorations required in between.