- (Optional) Fork this repository to your GitHub account.
- Clone the repository to your local machine.
Note: If you forked the repository, clone your fork. Otherwise clone the main repository.
- All your source code must be present in the
src
directory. Source code present in any other directory will not be considered or evaluated. - Use
templates/template.h
andtemplates/templates.c
as reference and create your own files in thesrc
directory as required. - You might want to use vscode and Makefile Tools extension with your project.
- Open the project folder in vscode.
- Set the build target as
all
and launch target to the default option.
- Open a terminal.
- Change your directory to the directory containing the file
Makefile
. - Optionally clean the project directory by running the following command:
make clean # Remove all build artifacts such as ./bin, ./lib, etc.
- Run the following command:
make # Compile your project and produce a ./bin/main executable file.
./bin/main # Run the program