Skip to content
Extraits de code Groupes Projets
Valider 8c0b3ae8 rédigé par Giovanna Stefanelli's avatar Giovanna Stefanelli
Parcourir les fichiers

Update Makefile

parent d11d4053
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Pipeline #10094 en échec
# Group: Q6
# Date: 26 April 2020
# Date: 24 April 2020
# Course: LEPL1503 - PROJECT3
# Object: factorial programme with Cunit test, Valgrind and cppcheck modules
CC = gcc
# The option -Werror convert warning into error
FLAGS = -Werror -pthread
FLAGS = -Wall -Werror -pthread
#TEST_FLAGS = -I${HOME}/local/include} -L${HOME}/local/lib -Wall -lcunit
fact: fact.c
$(CC) $(FLAGS) fact.c -o fact -lm
echo "fact.c file compiled"
# File provinding wrong numbers (negative, <2, 0), command:
# Check wrong numbers (negative, <2, 0, large numbers, etc.) with the command:
# ./fact incorrect_numbers.txt out.txt
test: Fact_UnitTest.c
......
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