Added forking support, support for larger command outputs, and other improvements

This commit is contained in:
Jacob Hartman
2026-03-14 21:37:13 -04:00
parent 062ef4d24f
commit e50cf1ead0
4 changed files with 170 additions and 106 deletions

View File

@@ -1,8 +1,16 @@
# Small makefile to make compiling watershell easier to do
# TODO implement C and Linker FLAGS if desired
COMPILER=gcc
all: watershell
debug:
$(COMPILER) watershell.c -DDEBUG=1 -static -o watershell
.PHONY: watershell
watershell:
gcc watershell.c -o $@
$(COMPILER) watershell.c -o watershell -static
clean:
rm watershell *.o