From cb3b44aa1e807b1c04f58645360fc02dc271d3b1 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 18 May 2024 22:57:05 +0200 Subject: [PATCH] examples with ok times in report makefile --- README.md | 46 ---------------------------------------------- report/Makefile | 20 ++++++++++++-------- 2 files changed, 12 insertions(+), 54 deletions(-) diff --git a/README.md b/README.md index 35109b0..b5a8d5f 100644 --- a/README.md +++ b/README.md @@ -10,52 +10,6 @@ Le convertisseur est [converter.py](./converter.py). $ python converter.py l-systems.csv ``` - - Autrement, pour aider à l'utilisation, il est possible d'utiliser le Makefile. ```sh diff --git a/report/Makefile b/report/Makefile index 89b5d84..880bb0b 100644 --- a/report/Makefile +++ b/report/Makefile @@ -38,12 +38,16 @@ generate_svg: # List of Lsystem to generate as pair `name,n`, space separated @$(CD) ..; $(MAKE) -s generation; \ for pair in \ - snow,5 koch,2 koch1,2 koch2,3 koch3,3 koch5,4 sierp,7 gosp6,4 gosp4,2 \ - star,7 moore,3 peano,3 koch8,6 pyramid,3 carpet,4 square,4 pentaplexy,3 \ - triangles,3 blocks,2; do \ - IFS=',' read -r nom n <<< "$$pair"; \ - $(MAKE) -s NOCHECK=1 tortue nom=$$nom n=$$n; \ - $(MAKE) -s NOCHECK=1 traceur; $(MAKE) -s svg; \ - $(MV) image.svg $(REPORT_DIR)/$(IMG_DIR)/$$nom.svg; \ - $(ECHO) "'$$nom' generated with $$n iterations."; \ + snow,5 koch,2 koch1,2 koch2,3 koch3,3 koch3,3 koch5,4 dragon,12 sierp,7 \ + gosp6,4 gosp4,2 br1,3 br2,3 br3,3 htree,11 \ + \ + star,7 moore,3 peano,3 koch8,6 \ + \ + pyramid,3 levey,10 carpet,4 square,4 pentaplexy,3 triangles,3 blocks,2 \ + pentl,3; do \ + IFS=',' read -r nom n <<< "$$pair"; \ + $(MAKE) -s NOCHECK=1 tortue nom=$$nom n=$$n; \ + $(MAKE) -s NOCHECK=1 traceur; $(MAKE) -s svg; \ + $(MV) image.svg $(REPORT_DIR)/$(IMG_DIR)/$$nom.svg; \ + $(ECHO) "'$$nom' generated with $$n iterations."; \ done