CC = gcc OBJS = main.o even.o TARGETS = main all: $(TARGETS) main: main.o even.o $(CC) main.o even.o -o main main.o: main.c $(CC) -c main.c even.o: even.c $(CC) -c even.c clean: rm -rf $(OBJS) *~ $(TARGETS)