- Callum Charteris
- Duncun Amundrud
- Finlay Robb
- Luke Wallace
- Muhammad Saad Khan
The make command is used:
make- builds the project, putting the final binary in ./binmake run- builds and runs the projectmake format- formats all the c files in the project (requiresclang-format)make clean- removes any build artifacts, use when you want to rebuild
Additional options:
release=1- use release profile without debug infosanitize=1- use address sanitizer to detect memory unsafety
Examples:
make run sanitize=1- run with address sanitizermake format && make release=1- format project files and build project in release profile
.
├── bin
│ └── the final binary
├── build
│ └── where intermediate .o and .d files are
├── docs
│ └── any useful documentation
├── include
│ └── where all the .h files are
├── src
│ └── where all the .c files are
├── Makefile
└── README.md
Note: ./bin and ./build are generated automatically upon make