Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
deo002 committed Sep 7, 2021
0 parents commit e5ccb73
Show file tree
Hide file tree
Showing 19 changed files with 1,482 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files.associations": {
"iostream": "cpp"
}
}
29 changes: 29 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
output: shell.o tokenize.o commands.o parse.o builtin.o execute_command.o signal_handlers.o prompt.o
gcc -g shell.o tokenize.o commands.o parse.o builtin.o execute_command.o signal_handlers.o prompt.o -o exe

shell.o: shell.c
gcc -g -c shell.c

tokenize.o: tokenize.c
gcc -g -c tokenize.c

commands.o: commands.c
gcc -g -c commands.c

parse.o: parse.c
gcc -g -c parse.c

builtin.o: builtin.c
gcc -g -c builtin.c

prompt.o: prompt.c
gcc -g -c prompt.c

signal_handlers.o: signal_handlers.c
gcc -g -c signal_handlers.c

execute_command.o: execute_command.c
gcc -g -c execute_command.c

clean:
rm *.o exe
Loading

0 comments on commit e5ccb73

Please sign in to comment.