From 5a600ac4f40e10cecadb4bee8446307de78c1624 Mon Sep 17 00:00:00 2001 From: Arkaprabha Chakraborty Date: Sun, 3 Jul 2022 21:57:23 +0530 Subject: [PATCH] Update README.md --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8afb57a..72e2fc3 100755 --- a/README.md +++ b/README.md @@ -12,11 +12,11 @@ Puts a spinning ASCII torus (mathematical name for a doughnut-shaped object) on ## Prerequisites for Windows -* Install a compiler like [GCC](https://gcc.gnu.org/) or [Clang](https://clang.llvm.org/) +* Install a compiler like [MinGW-w64](https://sourceforge.net/projects/mingw-w64/) ## How to build and run -* `gcc torus.c -o torus.exe` in the shell to compile using GCC +* `gcc -Ofast -o torus.exe torus.c -lm` in the shell to compile using MinGW-w64 * `.\torus.exe` in the shell to run the program # For Linux @@ -29,10 +29,11 @@ Puts a spinning ASCII torus (mathematical name for a doughnut-shaped object) on * `sudo pacman -S gcc` to install the required compilers -## How to compile and run +## How to compile, run and clean -* `gcc torus.c -o torus.out -lm` to compile -* `./torus.out` to run +* `make build` to compile +* `make run` to run +* `make clean` to clean # Updates