Two changes commited:

- Replace pattern [torus] with [donut]
- Minor change in README.md
This commit is contained in:
Arkaprabha Chakraborty
2023-10-06 07:59:04 +05:30
parent 3106a3732e
commit f26a0f8f48
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
CC=gcc
CFLAGS=-O2 -lm
BIN=torus
BIN=donut
$(BIN): $(BIN).c
$(CC) $(BIN).c -o $(BIN) $(CFLAGS)

View File

@@ -1,6 +1,6 @@
# Description
Puts a spinning ASCII torus on the terminal. Original post by Andy Sloane can be found [here](https://www.a1k0n.net/2011/07/20/donut-math.html).
Spinning ASCII donut on the terminal. Original post by Andy Sloane can be found [here](https://www.a1k0n.net/2011/07/20/donut-math.html).
# How to run
@@ -16,8 +16,8 @@ Puts a spinning ASCII torus on the terminal. Original post by Andy Sloane can be
## How to build and run
- `gcc -O2 -o torus.exe torus.c -lm` in the shell to compile using MinGW-w64
- `.\torus.exe` in the shell to run the program
- `gcc -O2 -o donut.exe donut.c -lm` in the shell to compile using MinGW-w64
- `.\donut.exe` in the shell to run the program
# For Linux