From fb322edd72bebddee1a9828baec2f8bc83666ddf Mon Sep 17 00:00:00 2001 From: scratko Date: Sat, 25 May 2024 21:36:07 +0300 Subject: Shell-II release Implementation of launching external programs via fork(). Running cd as a change to the current process directory (chdir). Ability to change to user's home directory (cd without arguments). --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 671c740..0fc988b 100644 --- a/Makefile +++ b/Makefile @@ -3,12 +3,12 @@ OBJMODULES = $(SRCMODULES:.c=.o) CC = gcc CFLAGS = -Wall -g -c -all: shell1 +all: shell-II %.o: %.с %.h $(CC) $(CFLAGS) $< -o $@ -shell1: $(OBJMODULES) +shell-II: $(OBJMODULES) $(CC) $(LIBS) $^ -o $@ -include deps.mk -- cgit v1.2.3