Skip to content
Extraits de code Groupes Projets
Valider dfc81bff rédigé par Arnaud Lefebvre's avatar Arnaud Lefebvre
Parcourir les fichiers

Replace Makefile

parent 8a2dc3b8
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Pipeline #10440 réussi
# Makefile
fact:
gcc fonctions.c main.c -o fact -lm -pthread -W -Wall -Werror -ggdb -std=c99 -std=gnu99
gcc fonctions.c main.c -o fact -lm -pthread -W -Wall -Werror -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
......@@ -15,9 +15,13 @@ cpp:
cpp_xml:
cppcheck --enable=all --inconclusive --xml --xml-version=2 fonctions.c main.c 2> cppcheck.xml
test:
gcc fonctions.c test.c -o test -lcunit -lpthread
clean:
rm -f fact
rm -f valgrind.xml
rm -f cppcheck.xml
rm -f test
.PHONY: clean
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter