From 1c5e09a25241d3964836e4f214a957b342fd9de3 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Wed, 20 Mar 2024 13:51:26 -0700 Subject: [PATCH] improved 1984/mullender Makefile Improved the warning with a make alt suggestion. Also removed alt2 rule that was no longer needed. --- 1984/mullender/Makefile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/1984/mullender/Makefile b/1984/mullender/Makefile index 12d3ce867..492c80f8d 100644 --- a/1984/mullender/Makefile +++ b/1984/mullender/Makefile @@ -131,8 +131,17 @@ all: data ${TARGET} sandwich supernova deep_magic magic charon pluto ${PROG}: ${PROG}.c - @echo "Warning: this entry is likely to fail and/or dump core on any computer other" - @echo "than a Vax-11 or pdp-11." + @echo "Warning: this entry is likely to fail and/or dump core on any computer other" \ + "than a Vax-11 or pdp-11." + @echo + @echo "For the rest of us, we recommend:" + @echo + @echo " make alt" + @echo + @echo "and then running:" + @echo + @echo " ./ ${ALT_TARGET}" + @echo ${CC} ${CFLAGS} $< -o $@ ${LDFLAGS} gentab: gentab.c @@ -147,9 +156,6 @@ alt: data ${ALT_TARGET} ${PROG}.alt: ${PROG}.alt.c ${CC} -include stdio.h -include unistd.h -include stdlib.h ${CFLAGS} -Wno-implicit-int $< -o $@ ${LDFLAGS} -${PROG}.alt2: ${PROG}.alt2.c - ${CC} -include stdio.h -include unistd.h -include stdlib.h ${CFLAGS} -Wno-implicit-int $< -o $@ ${LDFLAGS} - # data files # data: ${DATA}