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