assignment 1

This commit is contained in:
2024-02-16 15:34:28 +01:00
commit 00d7dcfa88
13 changed files with 1179 additions and 0 deletions

12
Makefile Normal file
View File

@@ -0,0 +1,12 @@
all: shell
shell:
gcc -std=c99 -Wall -pedantic main.c scanner.c shell.c cmd.c -o shell
bonus:
gcc -std=c99 -Wall -DEXT_PROMPT -pedantic main.c scanner.c shell.c cmd.c -o shell
clean:
rm -f *~
rm -f *.o
rm -f shell