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.
This commit is contained in:
1 parent
8a55349783
commit
2a563087bb
3 files changed
+8
-15
No files matched your search
@@ -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}
|
||||
|
||||
@@ -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:
|
||||
|
||||
``` <!---sh-->
|
||||
make alt
|
||||
```
|
||||
|
||||
In this case it will be built as `sicherman.alt`.
|
||||
|
||||
|
||||
### Alternate use:
|
||||
|
||||
|
||||
@@ -397,9 +397,8 @@ Location: <a href="../../location.html#US">US</a> - <em>United States of America
|
||||
<!-- BEFORE: 1st line of markdown file: 1985/sicherman/README.md -->
|
||||
<h2 id="to-build">To build:</h2>
|
||||
<pre><code> make all</code></pre>
|
||||
<p>There is another version that will be compiled in case the first fails. This
|
||||
should happen automatically. See <a href="#alternate-code">Alternate code</a> below for
|
||||
more details on it.</p>
|
||||
<p>There is another version that can be compiled in case the first fails.
|
||||
See <a href="#alternate-code">Alternate code</a> below for more details on it.</p>
|
||||
<h2 id="to-use">To use:</h2>
|
||||
<pre><code> ./sicherman < file
|
||||
|
||||
@@ -417,10 +416,7 @@ will be built in the case of the <a href="https://github.com/ioccc-src/temp-test
|
||||
In this case it’ll be compiled to <code>sicherman</code> to simplify it for the larger
|
||||
audience.</p>
|
||||
<h3 id="alternate-build">Alternate build:</h3>
|
||||
<p>Although this will be built if the original fails to compile you can do it
|
||||
manually like:</p>
|
||||
<pre><code> make alt</code></pre>
|
||||
<p>In this case it will be built as <code>sicherman.alt</code>.</p>
|
||||
<h3 id="alternate-use">Alternate use:</h3>
|
||||
<pre><code> ./sicherman.alt < file</code></pre>
|
||||
<h3 id="alternate-try">Alternate try:</h3>
|
||||
|
||||
Reference in new issue
Block a user