From e23d8e6e68ebed25368484f4428a8defb16e8da5 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Wed, 22 Mar 2023 17:44:26 -0700 Subject: [PATCH] fix Makefile and README.md for 2006/monge NOTE: While this code compiled, it did not link. This code may have been written for sdl-config instread of sdl2-config. --- 2006/monge/Makefile | 2 +- 2006/monge/README.md | 30 ++++++++++++++++++------------ 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/2006/monge/Makefile b/2006/monge/Makefile index a0586560d..1bb91f5be 100644 --- a/2006/monge/Makefile +++ b/2006/monge/Makefile @@ -105,7 +105,7 @@ CDEFINE= #CINCLUDE= -include stdlib.h #CINCLUDE= -include stdio.h #CINCLUDE= -include stdlib.h -include stdio.h -#CINCLUDE= -I ${X11_INCDIR} +#CINCLUDE= -I ${X11_INCDIR} -I ${X11_INCDIR}/X11 CINCLUDE= `${SDL2_CONFIG} --cflags` # Optimization diff --git a/2006/monge/README.md b/2006/monge/README.md index a1ee8c3fd..4abdacb3f 100644 --- a/2006/monge/README.md +++ b/2006/monge/README.md @@ -1,25 +1,31 @@ # Best Compiled Graphics -Maurizio Monge -Department of Mathematics -University of Pisa -Pisa -Italy -maurizio.monge at gmail dot com + Maurizio Monge + Department of Mathematics + University of Pisa + Pisa + Italy + maurizio.monge at gmail dot com +# To build: -## To build: +Make sure you have the SDL2 development environment installed. - echo Make sure you have the SDL2 development environment installed - make all +```sh +make +``` -### To run +### To run: - ./monge expression ... +```sh +./monge expression ... +``` ### Try: - ./monge "z = 0" "z = z*z*z + c; Abs2(z) < 4" +```sh +./monge "z = 0" "z = z*z*z + c; Abs2(z) < 4" +``` ## Judges' comments