From 04ae4cf33c6d4b1b4ae5062d32dda3ac862173f7 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 13 Feb 2023 08:52:02 -0800 Subject: [PATCH] Remove 1986/stein/stein.orig.c Since the original program does not compile and more than one of us fixed it (the judges and me and probably others as well) and the fix is in stein.c we remove the stein.orig.c. Updated Makefile so this would not be a problem. Updated README.md to not refer to make alt. --- 1986/stein/Makefile | 8 ++------ 1986/stein/README.md | 2 -- 1986/stein/stein.orig.c | 3 --- 3 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 1986/stein/stein.orig.c diff --git a/1986/stein/Makefile b/1986/stein/Makefile index a7df5a356..f75c2e4fe 100644 --- a/1986/stein/Makefile +++ b/1986/stein/Makefile @@ -437,7 +437,7 @@ ALT_TARGET= ${PROG}.orig all: ${DATA} ${TARGET} @${TRUE} -.PHONY: alt data everything clean clobber nuke dist_clean \ +.PHONY: data everything clean clobber nuke dist_clean \ install build love haste waste make easter_egg \ supernova deep_magic magic charon pluto @@ -446,10 +446,6 @@ ${PROG}: ${PROG}.c ${CC} ${CFLAGS} $< -o $@ ${LIBS} -${LN} $@ a.out -# alternative executable -# -alt: ${DATA} ${ALT_TARGET} - @${TRUE} ${PROG}.orig: ${PROG}.orig.c @echo "NOTE: The original source may not compile using modern compilers." @@ -467,7 +463,7 @@ data: ${DATA} # utility rules ############### # -everything: all alt +everything: all clean: ${RM} -f ${OBJ} ${ALT_OBJ} diff --git a/1986/stein/README.md b/1986/stein/README.md index 243328d49..aed84d69c 100644 --- a/1986/stein/README.md +++ b/1986/stein/README.md @@ -6,8 +6,6 @@ Jan Stein make all -NOTE: The original entry may be built with "make alt". - Judges' comments: > NOTE: to avoid problems with news and mail, the single line was split diff --git a/1986/stein/stein.orig.c b/1986/stein/stein.orig.c deleted file mode 100644 index cf731c84a..000000000 --- a/1986/stein/stein.orig.c +++ /dev/null @@ -1,3 +0,0 @@ -typedef char*z;O;o;_=33303285;main(b,Z)z Z;{b=(b>=0||(main(b+1,Z+1),*Z=O%(o=(_% -25))+'0',O/=o,_/=25))&&(b<1||(O=time(&b)%0250600,main(~5,*(z*)Z),write(1,*(z*)Z -,9)));}