commit 476999291c7c2cbe482afaac72fd37f705aab56f
parent 697010c5bfc30168a42e3f5e2b3686c9d119fa82
Author: Christos Margiolis <christos@margiolis.net>
Date: Wed, 18 Dec 2019 02:28:59 +0200
corrected README
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/assignment-1.4-functions/README.md b/assignment-1.4-functions/README.md
@@ -33,7 +33,7 @@ __Requirements:__ MinGW gcc compiler
1. Open Command Prompt, or the integrated terminal of your editor.
2. Move to the ```src``` directory of the program: ```$ cd full_path/assignment-1.4-functions/program_name/src```
3. Compile ```main.c``` and ```program_name-libs.c```: ```$ gcc -c main.c program_name-libs.c && mv main.o program_name-libs.o ../obj && cd ../obj```
-4. Link ```main.o``` and ```program_name-libs.o```: ```$ gcc main.o program_name-libs.o -lm && mv a.out ../exec && cd ../exec```
+4. Link ```main.o``` and ```program_name-libs.o```: ```$ gcc main.o program_name-libs.o -lm && mv a.exe ../exec && cd ../exec```
5. Execute program: ```$ a.exe```
### Method 2