From 96ec0d298f9d967c29e6ed6eacab476f697bc8ab Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Sun, 19 Nov 2023 06:20:53 -0800 Subject: [PATCH] Improve 2004/vik2 cat-killing-curiosity rule It's now possible to see the messages even if warnings flood the screen (which is quite likely). One might update the CSILENCE but this is easier and prevents any problem of compilers not having the respective -Wno- option but it doesn't matter anyway as if it was a clean compile it would show nothing at all. --- 2004/vik2/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/2004/vik2/Makefile b/2004/vik2/Makefile index b2e5fefb6..e28d6e042 100644 --- a/2004/vik2/Makefile +++ b/2004/vik2/Makefile @@ -198,7 +198,8 @@ diff_alt_orig: # # may be too strong to not try and compile the original # vik2 source code. Therefore we offer this special -# Makefile rule for those who do not wish curtail their curiosity. +# Makefile rule for those who do not wish to curtail (or cattail :-) ) +# their curiosity. # cat-killing-curiosity: vik2.possible.cat.death.c @echo 'Curiosity killed the cat ...' @@ -207,7 +208,7 @@ cat-killing-curiosity: vik2.possible.cat.death.c ${PROG}.possible.cat.death.c > ${PROG}.possible.cat.death_1.c ${RM} -f ${PROG}.possible.cat.death_2.c ${CC} -E ${PROG}.possible.cat.death_1.c > ${PROG}.possible.cat.death_2.c - ${CC} ${CFLAGS} ${PROG}.possible.cat.death_2.c -o $@ + ${CC} ${CFLAGS} ${PROG}.possible.cat.death_2.c -o $@ 2>/dev/null @echo '... but satisfaction brought it back. :-)'