My C project configuration with Makefile
{PROJECT_ROOT}
- project root path.
{BUILD_DIR}
- build
- GCC >= 8.4
In {PROJECT_ROOT}
invoke:
make -C ./build
# And run app
./build/app
Or:
cd ./build
make
You can also clean ./build
make -C ./build clean
├── build # build directory with Makefile
├── sources # sources directory
├── .vscode # my VS code configuration
├── LICENSE # License doc
├── README.md # this file
├── .clang-format # clang-format file which unify code style
└── .gitignore # gitignore config file
./build/app