diff --git a/projet k3/makefile b/projet k3/makefile new file mode 100644 index 0000000000000000000000000000000000000000..76c370a792f6ac105b89849be7e3265127885d3b --- /dev/null +++ b/projet k3/makefile @@ -0,0 +1,14 @@ +all: fact + ./fact -N 4 ./example_input.txt ./output.txt + +fact: fact.o + gcc -o fact fact.o -lcunit -lpthread -lm + +fact.o: fact.c + gcc -o fact.o -c fact.c -W -Wall -pedantic -std=gnu99 + +test: + +clean: + rm -rf fact + rm -rf ./fact.o