diff options
author | Jakob Kaivo <jkk@ung.org> | 2023-04-01 20:41:59 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2023-04-01 20:41:59 -0400 |
commit | a46ccd3ebd191c1b685b3c4e0f4c8802631303e1 (patch) | |
tree | 0d77e5eb05690db7605ad33df7b1f4d6a3e6d231 /Makefile | |
parent | d905faaa0a3180e20532eff6b1effbec06431d87 (diff) |
integrate interactive command editing
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -4,7 +4,7 @@ default: all -CFLAGS=-g -Wall -Wextra -Wpedantic +CFLAGS=-g -Wall -Wextra -Wpedantic -D_XOPEN_SOURCE=700 UTILITY=sh SOURCES=alias.c bg.c builtins.c cd.c command.c fc.c fg.c getopts.c \ @@ -12,14 +12,16 @@ SOURCES=alias.c bg.c builtins.c cd.c command.c fc.c fg.c getopts.c \ ulimit.c umask.c wait.c \ dot.c eval.c exec.c exit.c export.c readonly.c shift.c times.c trap.c \ unset.c \ - interactive.c parse.c init.c getopt.c -HEADERS=sh.h + interactive.c parse.c init.c getopt.c \ + shed.c shed_commands.c shed_edit.c shed_insert.c shed_io.c shed_move.c shed_non_vi.c +HEADERS=sh.h shed.h OBJECTS=alias.o bg.o builtins.o cd.o command.o fc.o fg.o getopts.o \ hash.o jobs.o kill.o newgrp.o pwd.o read.o set.o main.o type.o \ ulimit.o umask.o wait.o \ dot.o eval.o exec.o exit.o export.o readonly.o shift.o times.o trap.o \ unset.o \ interactive.o parse.o init.o getopt.o \ + shed.o shed_commands.o shed_edit.o shed_insert.o shed_io.o shed_move.o shed_non_vi.o \ sh.tab.o sh.yy.o BUILTINS=alias bg cd command fc fg getopts jobs newgrp read \ ulimit umask unalias wait @@ -27,7 +29,7 @@ BUILTINS=alias bg cd command fc fg getopts jobs newgrp read \ all: $(UTILITY) $(L10N) $(BUILTINS) sh: $(OBJECTS) $(HEADERS) - $(CC) -o $@ $(CFLAGS) $(OBJECTS) -ly -ll + $(CC) -o $@ $(CFLAGS) $(OBJECTS) $(BUILTINS): $(UTILITY) #ln -s $(UTILITY) $@ |