diff --git a/1992/buzzard.2/Makefile b/1992/buzzard.2/Makefile index bc699d5e8..11f302674 100644 --- a/1992/buzzard.2/Makefile +++ b/1992/buzzard.2/Makefile @@ -168,8 +168,8 @@ OBJ= ${PROG}.o DATA= TARGET= ${PROG} # -ALT_OBJ= -ALT_TARGET= +ALT_OBJ= ${PROG}.alt.o +ALT_TARGET= ${PROG}.alt ################# @@ -186,6 +186,9 @@ all: data ${TARGET} ${PROG}: ${PROG}.c ${CC} ${CFLAGS} $< -o $@ ${LIBS} +${PROG}.alt: ${PROG}.alt.c + ${CC} ${CFLAGS} $< -o $@ ${LIBS} + first: ${PROG} ${RM} -f $@ ${LN} $< $@ diff --git a/1992/buzzard.2/README.md b/1992/buzzard.2/README.md index 8fb6cf9f3..1419f96ab 100644 --- a/1992/buzzard.2/README.md +++ b/1992/buzzard.2/README.md @@ -32,6 +32,17 @@ Sorry, this is third! +### Alternate code + +An alternate version of this entry, `buzzard.2.alt.c`, is provided. This alternate code +does not contain a fix that the author notes below. + +To compile this alternate version: + + make alt + +Use `buzzard.2.alt` as you would `buzzard.2` above. + ## Judges' comments Have fun! diff --git a/1992/buzzard.2/buzzard.2.orig.c b/1992/buzzard.2/buzzard.2.alt.c similarity index 100% rename from 1992/buzzard.2/buzzard.2.orig.c rename to 1992/buzzard.2/buzzard.2.alt.c