fix Makefile and README.md for 2019/ciura

This commit is contained in:
Landon Curt Noll committed 2023-03-25 02:05:41 -07:00
1 parent 6966681c1e
commit de558ba195
2 files changed
+17 -9

No files matched your search

+2 -2
View File
@@ -101,8 +101,8 @@ CINCLUDE=
#CINCLUDE= -include stdlib.h
#CINCLUDE= -include stdio.h
#CINCLUDE= -include stdlib.h -include stdio.h
#CINCLUDE= -I ${X11_INCDIR}
#CINCLUDE= -I ${HOMEBREW_PREFIX}/include/SDL2
#CINCLUDE= -I ${X11_INCDIR} -I ${X11_INCDIR}/X11
#CINCLUDE= `${SDL2_CONFIG} --cflags`
# Optimization
#
+15 -7
View File
@@ -3,16 +3,21 @@
Marcin Ciura
Twitter: @mciura
## To build:
# To build:
make all
```sh
make
```
### To run
### To run:
```sh
./getwords.sh en | grep .. | ./prog string
```
### Try:
```sh
./getwords.sh en | grep .. | ./prog aeiouvwxyz
./getwords.sh en | grep .. | ./prog aeiouhjklmnvwxyz
@@ -24,6 +29,7 @@ Twitter: @mciura
./fr.sh
./ru.sh
```
### Alternate code
@@ -32,11 +38,13 @@ See the Author's comments for more information.
To compile this alternate version:
```sh
make alt
```
Use `prog.alt` as you would `prog` above.
### Selected Judges Remarks:
## Judges' comments:
A few letters, one at a time, with no repeats.
How many different ways can this be done?
@@ -49,6 +57,7 @@ Speaking of jumping, can you rewrite the code to
remove all of the goto jumps in this code?
## Author's comments:
### What is this? <a name="wit"></a>
This entry reads from standard input a list of words in any language
@@ -167,11 +176,10 @@ With the supplied `Makefile`, both `gcc` and `clang` compile
compilation with `gcc -std=c90`, add `-Wno-format` to
`CSILENCE` in `Makefile`.
--------------------------------------------------------------------------------
<!--
## Copyright:
(c) Copyright 1984-2019, [Leo Broukhis, Simon Cooper, Landon Curt Noll][judges] - All rights reserved
This work is licensed under a [Creative Commons Attribution-ShareAlike 3.0 Unported License][cc].
[judges]: http://www.ioccc.org/judges.html
[cc]: http://creativecommons.org/licenses/by-sa/3.0/
-->