From 33d44db8f48fc024999b4697e8778ed716a1d9ae Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Mon, 30 Mar 2020 11:59:37 -0400 Subject: use predictably resettable getopt() --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 12f6a23..15f5688 100644 --- a/Makefile +++ b/Makefile @@ -12,14 +12,14 @@ SOURCES=alias.c bg.c builtins.c cd.c command.c false.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 + interactive.c parse.c init.c getopt.c HEADERS=sh.h OBJECTS=alias.o bg.o builtins.o cd.o command.o false.o fc.o fg.o getopts.o \ hash.o jobs.o kill.o newgrp.o pwd.o read.o set.o main.o true.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 \ + interactive.o parse.o init.o getopt.o \ sh.tab.o sh.yy.o BUILTINS=alias bg cd command false fc fg getopts jobs kill newgrp pwd read \ true ulimit umask unalias wait -- cgit v1.2.1