This is a sample project to manage a contact list in C, using the cJSON library to handle JSON data.
- GCC (or any other C compiler)
- Make
To install the dependencies, run the following command:
make install-depsThis command will clone the cJSON repository into the vendor folder of the project.
To compile the project, run the following command:
makeTo run the program, execute the following command:
make runTo clean the project from object files, executables, and the vendor folder, run the following command:
make cleanproject/
├── vendor/
│ └── cJSON/
│ ├── cJSON.c
│ ├── cJSON.h
│ └── ...
├── storage/
├── contact.c
├── contact.h
├── main.c
├── Makefile
├── .gitignore
└── README.md