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