Fix 1993/lmfjyh/Makefile

The problem it had is that it was reverted back to trying to compile the
very unsafe file name without deleting it after the ${CC} line. Thus the ${RM}
part was moved back to the end of the rule. I added the file (or a glob
that will match the file) to .gitignore a long time ago possibly when I
added the alt code.

The thanks file was fixed to account for the fact that the Makefile no
longer automatically builds the alt version if the code fails to
compile.
This commit is contained in:
Cody Boone Ferguson committed 2024-03-22 05:19:09 -07:00
1 parent 8aefcaa569
commit 5b0f40ad62
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 "long time ago."
@echo
${RM} -f \"\;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}
@${CC} ${CFLAGS} \
@@ -145,6 +144,8 @@ ${PROG}: ${PROG}.c
echo "and then run the alternate program:" && \
echo && \
echo " ./${ALT_TARGET}"
@${RM} -f \"\;main\(\)\{puts\(\"Hello\ World!\"\)\;\}char\*C=\".c
# alternative executable
#