From ef4604d9c146dbab1a653f66209103b74e6feb36 Mon Sep 17 00:00:00 2001 From: scratko Date: Thu, 20 Jun 2024 18:38:11 +0300 Subject: Shell-edit release Autocomplete program and file names (tab). Moving the cursor to edit commands (left and right arrows). Deleting a character in a command (backspace). --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8a49831..2bbac5e 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,14 @@ -SRCMODULES = dynamic_array.c queue.c lexical_analysis.c shell.c +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-V +all: shell-edit %.o: %.с %.h $(CC) $(CFLAGS) $< -o $@ -shell-V: $(OBJMODULES) +shell-edit: $(OBJMODULES) $(CC) $(LIBS) $^ -o $@ -include deps.mk -- cgit v1.2.3