Swap alt and alt2 of 2012/endoh1

The alt2 is the deobfuscated version; the alt one is the one with the
ability to slow down/speed up the fluid and control the gravity factor,
the pressure factor and/or the viscosity factor.

The alt version no longer imposes a lower limit on the factors because
doing so prevents the ability to define them to 'I' which the author
noted is a functional difference.
This commit is contained in:
Cody Boone Ferguson committed 2023-12-02 05:09:25 -08:00
1 parent 8bb837f5f8
commit af3b4f5166
6 files changed
+144 -117

No files matched your search

+11 -9
View File
@@ -115,8 +115,8 @@ DATA= column.txt column2.txt column3.txt corners.txt dripping-pan.txt \
funnel3.txt leidenfrost.txt logo.txt pour-out.txt tanada.txt
TARGET= ${PROG} ${PROG}_color
#
ALT_OBJ= ${PROG}.alt.o
ALT_TARGET= ${PROG}.alt
ALT_OBJ= ${PROG}.alt.o ${PROG}_color.alt.o
ALT_TARGET= ${PROG}.alt ${PROG}_color.alt
# The factor of gravity
#
@@ -151,19 +151,21 @@ ${PROG}_color: ${PROG}_color.c
# alternative executable
#
alt: data ${ALT_TARGET}
@${TRUE}
alt2: ${ALT_TARGET}2 ${PROG}_color.alt
alt: data ${ALT_TARGET} ${PROG}.alt2
@${TRUE}
${PROG}.alt: ${PROG}.alt.c
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
${PROG}.alt2: ${PROG}.alt2.c
# this does NOT correspond to endoh1.alt2.c but rather endoh1.alt.c: it is NOT
# deobfuscated.
${PROG}_color.alt: ${PROG}_color.alt.c
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
${PROG}_color.alt: ${PROG}_color.alt.c
alt2: ${PROG}.alt2
@${TRUE}
${PROG}.alt2: ${PROG}.alt2.c
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
@@ -231,7 +233,7 @@ clean:
fi
clobber: clean
${RM} -f ${TARGET} ${ALT_TARGET} ${ALT_TARGET}2 ${PROG}_color.alt
${RM} -f ${TARGET} ${ALT_TARGET} ${ALT_TARGET}2 ${PROG}_color.alt ${PROG}.alt2
@-if [ -e sandwich ]; then \
${RM} -f sandwich; \
echo 'ate sandwich'; \