From 6ae9954955001aec9119e2dbf6ef73dc71a0ab33 Mon Sep 17 00:00:00 2001 From: Arnaud Lefebvre <arnaud.lefebvre@student.uclouvain.be> Date: Thu, 14 May 2020 12:14:33 +0200 Subject: [PATCH] Replace Makefile --- Code_With_Threads/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Code_With_Threads/Makefile b/Code_With_Threads/Makefile index 5e48bb1..9b53318 100644 --- a/Code_With_Threads/Makefile +++ b/Code_With_Threads/Makefile @@ -4,10 +4,10 @@ fact: gcc fonctions.c main.c -o fact -lm -pthread -W -Wall -Werror -ggdb -std=c99 -std=gnu99 val: - valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./fact -N 4 example_input.txt example_output.txt + valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./fact -N 4 test_files/example_input.txt example_output.txt val_xml: - valgrind --xml=yes --xml-file="valgrind.xml" --leak-check=yes ./fact -N 4 example_input.txt example_output.txt + valgrind --xml=yes --xml-file="valgrind.xml" --leak-check=yes ./fact -N 4 test_files/example_input.txt example_output.txt cpp: cppcheck --enable=all functions.c main.c @@ -19,6 +19,5 @@ clean: rm -f fact rm -f valgrind.xml rm -f cppcheck.xml - rm "example_output.txt" .PHONY: clean \ No newline at end of file -- GitLab