{"id":19351542,"url":"https://github.com/opensourcedoc/c-boilerplate-library","last_synced_at":"2025-04-23T07:31:04.111Z","repository":{"id":77782871,"uuid":"366918561","full_name":"opensourcedoc/c-boilerplate-library","owner":"opensourcedoc","description":"C Boilerplate Project to Build C Based Library","archived":false,"fork":false,"pushed_at":"2021-06-18T06:34:57.000Z","size":4,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T09:44:55.939Z","etag":null,"topics":["boilerplate-library","c"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opensourcedoc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-13T03:04:23.000Z","updated_at":"2025-03-10T06:55:06.000Z","dependencies_parsed_at":"2023-08-24T02:02:31.038Z","dependency_job_id":null,"html_url":"https://github.com/opensourcedoc/c-boilerplate-library","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourcedoc%2Fc-boilerplate-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourcedoc%2Fc-boilerplate-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourcedoc%2Fc-boilerplate-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourcedoc%2Fc-boilerplate-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opensourcedoc","download_url":"https://codeload.github.com/opensourcedoc/c-boilerplate-library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250391126,"owners_count":21422846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boilerplate-library","c"],"created_at":"2024-11-10T04:36:33.893Z","updated_at":"2025-04-23T07:31:04.104Z","avatar_url":"https://github.com/opensourcedoc.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C Boilerplate for Library\n\nA C boilerplate project to build a C based library.\n\n## System Requirements\n\n* C compiler (Clang or GCC)\n* GNU Make (for compilation only)\n\n## Usage\n\nClone the project:\n\n```\n$ git clone https://github.com/cwchentw/c-boilerplate-library.git mylib\n```\n\nMove your working directory to the root of *mylib*:\n\n```\n$ cd mylib\n```\n\nModify the header and the source as needed. You may add and remove C source files (*.c*) as well.\n\nCompile the project to a dynamic library:\n\n```\n$ make\n```\n\nAlternatively, compile the project to a static library:\n\n```\n$ make static\n```\n\nSet your own remote repository:\n\n```\n$ git remote set-url origin https://example.com/user/project.git\n```\n\nPush your modification to your own repo:\n\n```\n$ git push\n```\n\n## Project Configuration\n\nHere are the parameters in *Makefile*:\n\n* **LIBRARY**: the name of the compiled library, including *lib* the prefix\n* **C_STD**: the C standard as a GCC C dialect\n\n## Note\n\nThe project assumes a Unix console environment. Windows users can install [MSYS2](https://www.msys2.org/) to obtain a decent Unix environment.\n\nBecause seldom Visual C++ users compile programs with Make, we don't include the compiler in the project.\n\n## Copyright\n\nCopyright (c) 2020 Michelle Chen. Licensed under MIT.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensourcedoc%2Fc-boilerplate-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopensourcedoc%2Fc-boilerplate-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensourcedoc%2Fc-boilerplate-library/lists"}