diff --git a/Makefile b/Makefile index 5957ed3997a06a61a061fd32904f039ce7ebae13..b00d4f41e2d45e3610862e6b767c85488b245407 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,19 @@ # 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