back to scratko.xyz
summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorscratko <m@scratko.xyz>2024-05-25 21:36:07 +0300
committerscratko <m@scratko.xyz>2024-05-25 22:05:47 +0300
commitfb322edd72bebddee1a9828baec2f8bc83666ddf (patch)
treefab49e1e88ab1b3b20a45aba354b85b5fdafeff4 /Makefile
parentc1e5cffb43977f5a2f8d9623e40c01dab6d80c46 (diff)
downloadshell-II.tar.gz
shell-II.tar.bz2
shell-II.zip
Shell-II releaseshell-II
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).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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