Fix alt code headers in 1989/ovdluhe/README.md

This commit is contained in:
Cody Boone Ferguson committed 2023-10-26 08:50:26 -07:00
1 parent 08a699bfe8
commit 09a38e4a61
2 files changed
+15 -3

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ include ../../var.mk
CSILENCE= -Wno-char-subscripts -Wno-constant-conversion -Wno-empty-body \
-Wno-implicit-function-declaration -Wno-parentheses -Wno-unsequenced \
-Wno-unused-variable -Wno-strict-prototypes \
-Wno-extra-semi -Wno-non-literal-null-conversion
-Wno-extra-semi -Wno-non-literal-null-conversion -Wno-implicit-int
# Common C compiler warning flags
#
+14 -2
View File
@@ -38,13 +38,25 @@ by chance or is killed.
## Alternate code:
The author suggested that one varies the definition of `P` from 2 through 10. As
it's a `#define` it's easy to set up. To use try:
it's a `#define` it's easy to set up.
### Alternate build:
```sh
make CFLAGS="-DP=9" clobber alt
```
Use `ovdluhe.alt` as you would `ovdluhe`.
You do not have to define `P` but if you do you can replace the value with
whatever you wish, as long as it's an int.
### Alternate use:
```sh
./ovdluhe.alt
```
## Judges' remarks: