fix how alt code it used in 1992/buzzard.2
This commit is contained in:
1 parent
6a92346e1d
commit
129ffa9fb5
3 files changed
+16
-2
No files matched your search
@@ -168,8 +168,8 @@ OBJ= ${PROG}.o
|
|||||||
DATA=
|
DATA=
|
||||||
TARGET= ${PROG}
|
TARGET= ${PROG}
|
||||||
#
|
#
|
||||||
ALT_OBJ=
|
ALT_OBJ= ${PROG}.alt.o
|
||||||
ALT_TARGET=
|
ALT_TARGET= ${PROG}.alt
|
||||||
|
|
||||||
|
|
||||||
#################
|
#################
|
||||||
@@ -186,6 +186,9 @@ all: data ${TARGET}
|
|||||||
${PROG}: ${PROG}.c
|
${PROG}: ${PROG}.c
|
||||||
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
||||||
|
|
||||||
|
${PROG}.alt: ${PROG}.alt.c
|
||||||
|
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
||||||
|
|
||||||
first: ${PROG}
|
first: ${PROG}
|
||||||
${RM} -f $@
|
${RM} -f $@
|
||||||
${LN} $< $@
|
${LN} $< $@
|
||||||
|
|||||||
@@ -32,6 +32,17 @@
|
|||||||
|
|
||||||
Sorry, this is third!
|
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
|
## Judges' comments
|
||||||
|
|
||||||
Have fun!
|
Have fun!
|
||||||
|
|||||||
File renamed without changes.
Reference in new issue
Block a user