commiting_from_my_own_personal_shell

This commit is contained in:
stitchy 2023-11-09 11:07:32 +00:00
parent 3daf9ab37d
commit ac6dbe8cd7
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
5 changed files with 210 additions and 0 deletions

17
smallsh/makefile Normal file
View file

@ -0,0 +1,17 @@
CC=gcc --std=gnu99 -g
output=smallsh
all: main.c main.h node.o input.o
$(CC) main.c node.o input.o -o $(output)
node.o: node.c node.h
$(CC) -c node.c -o node.o
input.o: input.h input.c
$(CC) -c input.c -o input.o
test: all
./p3testscript
clean:
rm -fr *.o vgcore.* $(output)