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-06-21 01:00:37 +0300
commitef4604d9c146dbab1a653f66209103b74e6feb36 (patch)
tree62562f68a0080cd65d94a525110180dab3b99919 /Makefile
parent8f4f87eabec13330a2b3a974975053c1e4632a11 (diff)
downloadshell-ef4604d9c146dbab1a653f66209103b74e6feb36.tar.gz
shell-ef4604d9c146dbab1a653f66209103b74e6feb36.tar.bz2
shell-ef4604d9c146dbab1a653f66209103b74e6feb36.zip
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).
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