fix Makefile and README.md for 2015/duble

This commit is contained in:
Landon Curt Noll committed 2023-03-24 16:17:23 -07:00
1 parent 91a957f872
commit ff5cb729b2
2 files changed
+12 -10

No files matched your search

+2 -2
View File
@@ -104,8 +104,8 @@ CINCLUDE=
#CINCLUDE= -include stdlib.h #CINCLUDE= -include stdlib.h
#CINCLUDE= -include stdio.h #CINCLUDE= -include stdio.h
#CINCLUDE= -include stdlib.h -include stdio.h #CINCLUDE= -include stdlib.h -include stdio.h
#CINCLUDE= -I ${X11_INCDIR} #CINCLUDE= -I ${X11_INCDIR} -I ${X11_INCDIR}/X11
#CINCLUDE= -I ${HOMEBREW_PREFIX}/include/SDL2 #CINCLUDE= `${SDL2_CONFIG} --cflags
# Optimization # Optimization
# #
+10 -8
View File
@@ -3,18 +3,21 @@
Etienne Duble <etienne.duble@imag.fr> Etienne Duble <etienne.duble@imag.fr>
<http://lig-membres.imag.fr/duble> <http://lig-membres.imag.fr/duble>
## To build: # To build:
make all
### To run
```sh
make make
```
### To run:
```sh
echo Some text | ./prog echo Some text | ./prog
```
### Try: ### Try:
```sh
echo Hello, world | ./prog echo Hello, world | ./prog
DRAFT=1 ./prog < prog.c DRAFT=1 ./prog < prog.c
@@ -24,6 +27,7 @@ Etienne Duble <etienne.duble@imag.fr>
(...observe...) (...observe...)
./prog < prog.c ./prog < prog.c
```
### Alternate code ### Alternate code
@@ -188,12 +192,10 @@ mode" have to check whether their standard input is a terminal or not (by
using isatty()). Did you notice that this program does not perform any such using isatty()). Did you notice that this program does not perform any such
detection, but still behaves (or seems to behave) appropriately? detection, but still behaves (or seems to behave) appropriately?
## Copyright:
--------------------------------------------------------------------------------
<!--
(c) Copyright 1984-2016, [Leo Broukhis, Simon Cooper, Landon Curt Noll][judges] - All rights reserved (c) Copyright 1984-2016, [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]. This work is licensed under a [Creative Commons Attribution-ShareAlike 3.0 Unported License][cc].
[judges]: http://www.ioccc.org/judges.html [judges]: http://www.ioccc.org/judges.html
[cc]: http://creativecommons.org/licenses/by-sa/3.0/ [cc]: http://creativecommons.org/licenses/by-sa/3.0/
-->