Added forking support, support for larger command outputs, and other improvements
This commit is contained in:
10
Makefile
10
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user