From 2a563087bb6c645d1874066cb230aa380445bd51 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Sun, 5 May 2024 09:08:14 -0700 Subject: [PATCH] Don't build alt automatically in 1985/sicherman This was done at first to try and protect against clang but this was decided against. The thanks file has this updated too but it is not being committed yet as there are many other fixes and more to be done before that can happen. README.md was updated and index.html was rebuilt, however. --- 1985/sicherman/Makefile | 6 ++++-- 1985/sicherman/README.md | 9 ++------- 1985/sicherman/index.html | 8 ++------ 3 files changed, 8 insertions(+), 15 deletions(-) diff --git a/1985/sicherman/Makefile b/1985/sicherman/Makefile index e765bb2a9..cb300a033 100644 --- a/1985/sicherman/Makefile +++ b/1985/sicherman/Makefile @@ -136,14 +136,16 @@ all: data ${TARGET} sandwich supernova deep_magic magic charon pluto ${PROG}: ${PROG}.c ${PROG}.alt.c - ${CC} ${CFLAGS} $< -o $@ ${LDFLAGS} || \ - ${CC} ${CFLAGS} ${PROG}.alt.c -o $@ ${LDFLAGS} + ${CC} ${CFLAGS} $< -o $@ ${LDFLAGS} # alternative executable # alt: data ${ALT_TARGET} @${TRUE} +${PROG}.alt: ${PROG}.alt.c + ${CC} ${CFLAGS} ${PROG}.alt.c -o $@ ${LDFLAGS} + # data files # data: ${DATA} diff --git a/1985/sicherman/README.md b/1985/sicherman/README.md index cbf54d1f6..b78855022 100644 --- a/1985/sicherman/README.md +++ b/1985/sicherman/README.md @@ -4,9 +4,8 @@ make all ``` -There is another version that will be compiled in case the first fails. This -should happen automatically. See [Alternate code](#alternate-code) below for -more details on it. +There is another version that can be compiled in case the first fails. +See [Alternate code](#alternate-code) below for more details on it. ## To use: @@ -40,15 +39,11 @@ audience. ### Alternate build: -Although this will be built if the original fails to compile you can do it -manually like: ``` make alt ``` -In this case it will be built as `sicherman.alt`. - ### Alternate use: diff --git a/1985/sicherman/index.html b/1985/sicherman/index.html index 55ef82f9f..ae8c5a759 100644 --- a/1985/sicherman/index.html +++ b/1985/sicherman/index.html @@ -397,9 +397,8 @@ Location: US - United States of America

To build:

    make all
-

There is another version that will be compiled in case the first fails. This -should happen automatically. See Alternate code below for -more details on it.

+

There is another version that can be compiled in case the first fails. +See Alternate code below for more details on it.

To use:

    ./sicherman < file
 
@@ -417,10 +416,7 @@ will be built in the case of the Alternate build:
-

Although this will be built if the original fails to compile you can do it -manually like:

    make alt
-

In this case it will be built as sicherman.alt.

Alternate use:

    ./sicherman.alt < file

Alternate try: