diff --git a/1993/plummer/Makefile b/1993/plummer/Makefile index b1c56da2e..8107ae4e8 100644 --- a/1993/plummer/Makefile +++ b/1993/plummer/Makefile @@ -58,7 +58,7 @@ ARCH= # Defines that are needed to compile # -CDEFINE= -DZ=200 +CDEFINE= -DZ=${SLEEP} # Include files that are needed to compile # @@ -138,8 +138,10 @@ ${PROG}: ${PROG}.c alt: data ${ALT_TARGET} @${TRUE} +# variable to control how long to sleep in alt version +SLEEP= 200 ${PROG}.alt: ${PROG}.alt.c - ${CC} ${CFLAGS} $< -o $@ ${LDFLAGS} + ${CC} ${CFLAGS} -DZ=${SLEEP} $< -o $@ ${LDFLAGS} # data files # diff --git a/1993/plummer/README.md b/1993/plummer/README.md index 26de8dda2..7d6288840 100644 --- a/1993/plummer/README.md +++ b/1993/plummer/README.md @@ -44,7 +44,7 @@ make alt If you wish to change the time to sleep (default `200`) you can do so like: ```sh -make clobber CDEFINE="-DZ=50" alt +make clobber SLEEP=50 alt ```