fix how alt code it used in 1992/buzzard.2

This commit is contained in:
Landon Curt Noll committed 2023-03-08 02:17:10 -08:00
1 parent 6a92346e1d
commit 129ffa9fb5
3 files changed
+16 -2

No files matched your search

+5 -2
View File
@@ -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} $< $@
+11
View File
@@ -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!
File renamed without changes.