Commit 2b173d20 authored by Arnaud Lefebvre's avatar Arnaud Lefebvre

Upload New File

parent 9e39f138
Pipeline #10054 passed with stage
in 0 seconds
# Makefile
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 test_files/example_input.txt example_output.txt
val_xml:
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
cpp_xml:
cppcheck --enable=all --inconclusive --xml --xml-version=2 fonctions.c main.c 2> cppcheck.xml
clean:
rm -f fact
rm -f valgrind.xml
rm -f cppcheck.xml
.PHONY: clean
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment