Large commit: Added reset function for CommandStruct, added reading from ~/.pishrc, and fixed running command in fork

This commit is contained in:
2022-10-27 00:25:40 -05:00
parent 68e9985c18
commit 8a1ac21a5c
7 changed files with 58 additions and 21 deletions
+3 -2
View File
@@ -4,6 +4,7 @@ all: compile link
compile:
gcc $(INC) -c -o build/main.o src/main.c
gcc $(INC) -c -o build/Common.o src/Common.c
gcc $(INC) -c -o build/Integrated.o src/Integrated.c
gcc $(INC) -c -o build/Pish.o src/Pish.c
@@ -13,17 +14,17 @@ link:
exec: compile link
./bin/pish.out
debug: debugCompile debugLink
debug: clean debugCompile debugLink
debugCompile:
gcc $(INC) -g -c -o build/main.o src/main.c
gcc $(INC) -g -c -o build/Integrated.o src/Integrated.c
gcc $(INC) -g -c -o build/Common.o src/Common.c
gcc $(INC) -g -c -o build/Pish.o src/Pish.c
debugLink:
gcc -g -o bin/pish.out build/*.o
clean:
rm build/*.o
rm bin/*.out