Table of Contents

1. How to build from the terminal using Makefiles:

build_terminal_makefile_openterminal.png

Navigate to the Project_Makefile folder on your computer and open this path in the Terminal, Command Prompt, or PowerShell.

Type in the make command to build the program. It will start showing the build output:

build_terminal_makefile_build.png

Once the build process is over, use ls to look at the files in the directory:

CPPReviewClasses_out  Makefile  obj

The file labeled "_out" is our executable file. To run the program, use the ./ command followed by the name of the program:

build_terminal_makefile_run.png

Any time you make changes to a code file in the project, you will need to run make again to rebuild the code.

Author: RachelWil

Created: 2026-07-06 Mon 12:40

Validate