From 506397a281b6fc2467135de1bad2a50e3445b553 Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 5 Jun 2025 18:53:21 +0200 Subject: [PATCH] build(getter): adding the rules to write auto the input given by the subject --- cpp09/ex00/Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/cpp09/ex00/Makefile b/cpp09/ex00/Makefile index f27eb28..5e4816e 100644 --- a/cpp09/ex00/Makefile +++ b/cpp09/ex00/Makefile @@ -6,7 +6,7 @@ # By: rparodi +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2023/11/12 11:05:05 by rparodi #+# #+# # -# Updated: 2025/05/02 15:21:09 by rparodi ### ########.fr # +# Updated: 2025/06/05 18:48:32 by rparodi ### ########.fr # # # # **************************************************************************** # @@ -59,6 +59,17 @@ get_db: @cp ./cpp_09/data.csv . &> /dev/null @rm -rf ./cpp_09.tgz ./cpp_09 &> /dev/null @printf '$(GREY)Downloaded $(END)$(GREEN)data.csv$(END)\n' + @echo "date | value" > ./input.txt + @echo "2011-01-03 | 3" >> ./input.txt + @echo "2011-01-03 | 2" >> ./input.txt + @echo "2011-01-03 | 1" >> ./input.txt + @echo "2011-01-03 | 1.2" >> ./input.txt + @echo "2011-01-09 | 1" >> ./input.txt + @echo "2012-01-11 | -1" >> ./input.txt + @echo "2001-42-42" >> ./input.txt + @echo "2012-01-11 | 1" >> ./input.txt + @echo "2012-01-11 | 2147483648" >> ./input.txt + @printf '$(GREY)Writing the example $(END)$(GREEN)input.txt$(END)\n' # Clean (make clean) clean: