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.
This commit is contained in:
Cody Boone Ferguson committed 2023-11-19 06:20:53 -08:00
1 parent fa80f73859
commit 96ec0d298f
1 file changed
+3 -2
+3 -2
View File
@@ -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. :-)'