My barebones project structure for c and c++ with flat project structure. With barebones package manager
To build use this command:
make
# or
make all
To run executable use this command
make run
To initialize LSP for vim, emacs , or vscode
make lsp
To download packages
make package
Edit config.mk
package management format
package1=("git url"
"commit hash"
"build command"
"libpackage.a"
"include dirs")
package2=("git url"
"commit hash"
"build command"
"libpackage.a"
"include dirs")
# then you need to add your package name in
PACKAGES="package1 package2"
NOTE: your package's build directory should prefereable be called build