factorial: main.o fact.o gcc main.o fact.o -o factorial main.o: main.c fact.h gcc -Wall -c main.c fact.o: fact.h fact.c gcc -Wall -c fact.c tests: tests.c fact_tests.c fact.o gcc -o tests tests.c fact.o test: tests ./tests clean: rm -f factorial *.o tests