back to scratko.xyz
summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorscratko <m@scratko.xyz>2024-06-20 18:38:11 +0300
committerscratko <m@scratko.xyz>2024-11-23 20:59:45 +0300
commit54679d85b1f2c1349bcbbc76b10d57a1e5137f23 (patch)
tree030bb7951a9a16dcdb8b1f47d1a5ff09dba8276c /Makefile
parentff38bddd4253b5adf08a84df34bfae32c8ae988d (diff)
downloadshell-54679d85b1f2c1349bcbbc76b10d57a1e5137f23.tar.gz
shell-54679d85b1f2c1349bcbbc76b10d57a1e5137f23.tar.bz2
shell-54679d85b1f2c1349bcbbc76b10d57a1e5137f23.zip
Shell-edit releaseshell-edit
Autocomplete program and file names (tab). Moving the cursor to edit commands (left and right arrows). Deleting a character in a command (backspace).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
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