Get 1992/lush to work with gcc - won't with clang

I used a patch from Yusuke Endoh to get it to work with gcc. Due to the
different messages with different compilers it's expected that this
won't work with every compiler.

I provided a 'runme.sh' script to run the command in the correct way.

I made the entry use fgets() not gets().

I updated bugs.md pointing out that it does not work with clang and
alternative code is welcome.
This commit is contained in:
Cody Boone Ferguson committed 2023-03-28 07:42:07 -07:00
1 parent 3865049bde
commit b945ec015f
5 files changed
+41 -16

No files matched your search

+1 -2
View File
@@ -61,7 +61,7 @@ CDEFINE=
# Include files that are needed to compile
#
CINCLUDE=
CINCLUDE= -include stdio.h
# Optimization
#
@@ -128,7 +128,6 @@ all: data ${TARGET}
supernova deep_magic magic charon pluto
${PROG}: ${PROG}.c
@echo "NOTE: This entry requires a non-standard K&R C compiler to compile."
${CC} ${CFLAGS} $< -o $@ ${LIBS}
lush.again: ${PROG}.c