From ff5cb729b2f9b49a0407a2cf7dddc557e7c698b1 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Fri, 24 Mar 2023 16:17:23 -0700 Subject: [PATCH] fix Makefile and README.md for 2015/duble --- 2015/duble/Makefile | 4 ++-- 2015/duble/README.md | 36 +++++++++++++++++++----------------- 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/2015/duble/Makefile b/2015/duble/Makefile index 437e3c1ba..36e0da62a 100644 --- a/2015/duble/Makefile +++ b/2015/duble/Makefile @@ -104,8 +104,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 # diff --git a/2015/duble/README.md b/2015/duble/README.md index 8be8554a6..e7580f0e7 100644 --- a/2015/duble/README.md +++ b/2015/duble/README.md @@ -1,29 +1,33 @@ # Best Handwriting -Etienne Duble - + Etienne Duble + -## To build: +# To build: - make all +```sh +make +``` -### To run +### To run: - make - - echo Some text | ./prog +```sh +echo Some text | ./prog +``` ### Try: - echo Hello, world | ./prog +```sh +echo Hello, world | ./prog - DRAFT=1 ./prog < prog.c +DRAFT=1 ./prog < prog.c - ./prog - > [type] - (...observe...) +./prog +> [type] +(...observe...) - ./prog < prog.c +./prog < prog.c +``` ### 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 detection, but still behaves (or seems to behave) appropriately? +## Copyright: --------------------------------------------------------------------------------- -