SRCMODULES = dynamic_array.c queue.c lexical_analysis.c file_suggestions.c readline.c shell.c OBJMODULES = $(SRCMODULES:.c=.o) CC = gcc CFLAGS = -Wall -g -c all: shell-VII %.o: %.с %.h $(CC) $(CFLAGS) $< -o $@ shell-VII: $(OBJMODULES) $(CC) $(LIBS) $^ -o $@ -include deps.mk deps.mk: $(SRCMODULES) $(CC) -MM $^ > $@