diff --git a/1993/rince/.gitignore b/1993/rince/.gitignore index c935df6bd..9bee489dc 100644 --- a/1993/rince/.gitignore +++ b/1993/rince/.gitignore @@ -1,4 +1,6 @@ jkb +jkb.alt +jkb.alt2 rince rince.orig rince.alt diff --git a/1993/rince/Makefile b/1993/rince/Makefile index badac181e..b0d789b75 100644 --- a/1993/rince/Makefile +++ b/1993/rince/Makefile @@ -58,7 +58,7 @@ ARCH= # Defines that are needed to compile # -CDEFINE= -DZ=17 +CDEFINE= -DZ=${SLEEP} # Include files that are needed to compile # @@ -143,6 +143,24 @@ jkb: ${PROG} alt: data ${ALT_TARGET} @${TRUE} +# variable to control how long to sleep in alt version +SLEEP= 17 + +${PROG}.alt: ${PROG}.alt.c + ${CC} ${CFLAGS} -DZ=${SLEEP} $< -o $@ ${LDFLAGS} + +${PROG}.alt2: ${PROG}.alt2.c + ${CC} ${CFLAGS} -DZ=${SLEEP} $< -o $@ ${LDFLAGS} + +jkb.alt: ${PROG}.alt + ${RM} -f $@ + ${LN} $< $@ + +jkb.alt2: ${PROG}.alt + ${RM} -f $@ + ${LN} $< $@ + + # data files # data: ${DATA} diff --git a/1993/rince/README.md b/1993/rince/README.md index c2d4cbeb6..63e218c73 100644 --- a/1993/rince/README.md +++ b/1993/rince/README.md @@ -20,8 +20,6 @@ STATUS: INABIAF - please **DO NOT** fix For more detailed information see [1993 rince in bugs.md](/bugs.md#1993-rince). - - ## To use: ```sh @@ -61,7 +59,7 @@ changed). ```sh -make CDEFINE="-DZ=18" clobber alt +make SLEEP=18 clobber alt ``` Replace 18 with whatever number you wish.