Fix alt code headers in 1989/ovdluhe/README.md
This commit is contained in:
1 parent
08a699bfe8
commit
09a38e4a61
2 files changed
+15
-3
No files matched your search
@@ -41,7 +41,7 @@ include ../../var.mk
|
|||||||
CSILENCE= -Wno-char-subscripts -Wno-constant-conversion -Wno-empty-body \
|
CSILENCE= -Wno-char-subscripts -Wno-constant-conversion -Wno-empty-body \
|
||||||
-Wno-implicit-function-declaration -Wno-parentheses -Wno-unsequenced \
|
-Wno-implicit-function-declaration -Wno-parentheses -Wno-unsequenced \
|
||||||
-Wno-unused-variable -Wno-strict-prototypes \
|
-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
|
# Common C compiler warning flags
|
||||||
#
|
#
|
||||||
|
|||||||
+14
-2
@@ -38,13 +38,25 @@ by chance or is killed.
|
|||||||
## Alternate code:
|
## Alternate code:
|
||||||
|
|
||||||
The author suggested that one varies the definition of `P` from 2 through 10. As
|
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
|
```sh
|
||||||
make CFLAGS="-DP=9" clobber alt
|
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:
|
## Judges' remarks:
|
||||||
|
|||||||
Reference in new issue
Block a user