This makefile project is tested with macOS 10.14.6 and clang version 8.0.1. This project is configured to build within VS Code, too.
Install LLVM/clang
$ brew install llvm
Adjust the LLVM_PATH
variable in the makefile to your system
LLVM_PATH := /usr/local/opt/llvm
Build and run
$ make run
Print supported make targets
$ make help
Add aux=y
to the make target. E.g.:
$ make all aux=y
- Build the project with Command+b
- Run the project with Command+r
- Clean the project with Command+Shift+k