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-23 23:25:46 +0300
commit74c6a747a58b38131534556ab95fa4dd4b514780 (patch)
tree68dae86f9ee994c2bc13681703a8c69e0e2b5f51 /Makefile
parent8f4f87eabec13330a2b3a974975053c1e4632a11 (diff)
downloadshell-74c6a747a58b38131534556ab95fa4dd4b514780.tar.gz
shell-74c6a747a58b38131534556ab95fa4dd4b514780.tar.bz2
shell-74c6a747a58b38131534556ab95fa4dd4b514780.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