CC=gcc CFLAGS=-Wall -Werror -g OBJS=testList.o List.o .PHONY: clean all : testList fac0 fac testList : testList.o List.o $(CC) -o testList $(OBJS) testList.o : testList.c List.h Item.h List.o : List.c List.h Item.h fac0 : fac0.c fac : fac.c clean : rm -f testList fac0 fac $(OBJS) core a.out