Merge pull request #2267 from xexyl/lmfjyh93-make

This commit is contained in:
Landon Curt Noll authored and GitHub committed 2024-03-22 10:47:58 -07:00
commit 4f0dafb708
3 files changed
+4 -7

No files matched your search

+2 -1
View File
@@ -132,7 +132,6 @@ ${PROG}: ${PROG}.c
@echo "it relies on a compiler bug which was fixed in gcc 2.3.3 a very" @echo "it relies on a compiler bug which was fixed in gcc 2.3.3 a very"
@echo "long time ago." @echo "long time ago."
@echo @echo
${RM} -f \"\;main\(\)\{puts\(\"Hello\ World!\"\)\;\}char\*C=\".c
${CP} lmfjyh.c \"\;main\(\)\{puts\(\"Hello\ World!\"\)\;\}char\*C=\".c ${CP} lmfjyh.c \"\;main\(\)\{puts\(\"Hello\ World!\"\)\;\}char\*C=\".c
@echo ${CC} ${CFLAGS} \"\;main\(\)\{puts\(\"Hello\ World!\"\)\;\}char\*C=\".c -o $@ ${LDFLAGS} @echo ${CC} ${CFLAGS} \"\;main\(\)\{puts\(\"Hello\ World!\"\)\;\}char\*C=\".c -o $@ ${LDFLAGS}
@${CC} ${CFLAGS} \ @${CC} ${CFLAGS} \
@@ -145,6 +144,8 @@ ${PROG}: ${PROG}.c
echo "and then run the alternate program:" && \ echo "and then run the alternate program:" && \
echo && \ echo && \
echo " ./${ALT_TARGET}" echo " ./${ALT_TARGET}"
@${RM} -f \"\;main\(\)\{puts\(\"Hello\ World!\"\)\;\}char\*C=\".c
# alternative executable # alternative executable
# #
+1 -3
View File
@@ -1299,9 +1299,7 @@ files for functions.</p>
<p><a href="#cody">Cody</a> added an <a href="1993/lmfjyh/index.html#alternate-code">alternate <p><a href="#cody">Cody</a> added an <a href="1993/lmfjyh/index.html#alternate-code">alternate
version</a> which does what the program did version</a> which does what the program did
with gcc &lt; 2.3.3. See the index.html file for details and for why this was made with gcc &lt; 2.3.3. See the index.html file for details and for why this was made
the alternate version, not the actual entry. This alternate version will compile the alternate version, not the actual entry.</p>
automatically (as <code>lmfjyh</code> itself) in the very likely case (if you don’t have
gcc &lt; 2.3.3) that the entry fails to compile.</p>
<p>Cody also made the Makefile delete the very unsafe filename that is compiled (or <p>Cody also made the Makefile delete the very unsafe filename that is compiled (or
would be compiled if gcc &lt; 2.3.3) whether or not compilation succeeds (which is would be compiled if gcc &lt; 2.3.3) whether or not compilation succeeds (which is
highly unlikely).</p> highly unlikely).</p>
+1 -3
View File
@@ -1809,9 +1809,7 @@ files for functions.
[Cody](#cody) added an [alternate [Cody](#cody) added an [alternate
version](1993/lmfjyh/index.html#alternate-code) which does what the program did version](1993/lmfjyh/index.html#alternate-code) which does what the program did
with gcc < 2.3.3. See the index.html file for details and for why this was made with gcc < 2.3.3. See the index.html file for details and for why this was made
the alternate version, not the actual entry. This alternate version will compile the alternate version, not the actual entry.
automatically (as `lmfjyh` itself) in the very likely case (if you don't have
gcc < 2.3.3) that the entry fails to compile.
Cody also made the Makefile delete the very unsafe filename that is compiled (or Cody also made the Makefile delete the very unsafe filename that is compiled (or
would be compiled if gcc < 2.3.3) whether or not compilation succeeds (which is would be compiled if gcc < 2.3.3) whether or not compilation succeeds (which is