Skip to content

Commit 9073c38

Browse files
committed
minor changes in makefile
1 parent a49a631 commit 9073c38

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
shellmake: src/shell.c src/stack.c src/readline.c
2-
gcc -o bin/wish src/shell.c src/stack.c src/readline.c
1+
shellmake: src/*.c
2+
gcc -g -o ./bin/wish ./src/shell.c ./src/stack.c ./src/cmd_struct.c ./src/process.c ./src/w_env.c ./src/w_parser.c ./src/w_tokenizer.c ./src/execute.c ./src/readline.c ./src/w_io.c ./src/w_signal.c

README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,23 @@ Some features are:
1919
#### Running on local machine
2020
You will need a Linux machine to run this shell.
2121

22-
##### Dependencies:
22+
###### Dependencies:
2323
- gcc
2424
- cmake
2525

26+
After installing dependencies,
27+
2628
Run the following commands:
2729
```
2830
$ make
2931
```
30-
Then an executable will be generated in ./bin/
32+
Then an executable will be generated in ./bin/ , you can run it using
3133

3234
```
33-
$ cd bin
34-
$ ./wish
35+
$ bin/wish
3536
```
3637

37-
To exit the shell write `exit` in the shell.
38+
To exit the shell write `exit` or press `Ctrl+D` in the shell.
3839

3940
#### To be added:
4041
- Shell Scripting

bin/wish

-51.3 KB
Binary file not shown.

make.sh

-2
This file was deleted.

0 commit comments

Comments
 (0)