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