{"id":24517502,"url":"https://github.com/koder77/zerobuild","last_synced_at":"2025-09-18T17:03:01.907Z","repository":{"id":87520490,"uuid":"103588585","full_name":"koder77/zerobuild","owner":"koder77","description":"zerobuild - a very simple build tool for C programs","archived":false,"fork":false,"pushed_at":"2024-12-23T21:29:18.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-22T01:36:34.682Z","etag":null,"topics":["build","programs","tool"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koder77.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-14T22:37:03.000Z","updated_at":"2024-12-23T21:29:22.000Z","dependencies_parsed_at":"2023-11-18T18:24:14.342Z","dependency_job_id":"ea3d8301-f747-4717-afc3-bb1af8a3da79","html_url":"https://github.com/koder77/zerobuild","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koder77%2Fzerobuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koder77%2Fzerobuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koder77%2Fzerobuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koder77%2Fzerobuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koder77","download_url":"https://codeload.github.com/koder77/zerobuild/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243719399,"owners_count":20336607,"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":["build","programs","tool"],"created_at":"2025-01-22T01:34:13.553Z","updated_at":"2025-09-18T17:02:56.821Z","avatar_url":"https://github.com/koder77.png","language":"C","funding_links":["https://ko-fi.com/P5P2Y3KP"],"categories":[],"sub_categories":[],"readme":"ZEROBUILD\n=========\n[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/P5P2Y3KP)\n\nZerobuild is a very simple build tool for C programs.\nI wrote it because sometimes I did not have an environment with a full bash \u0026 automake tools.\n\nPROS: very simple syntax of \"makefiles\". Zerobuild is only one executable.\n\nCONS: you have to set up search paths by \"hand\".\n\nTODO: check if .h files are changed. \u003cbr\u003e\nI use zerobuild to build my L1VM!\n\nHere is the zerobuild.txt of zerobuild:\n\n\u003cpre\u003e\n-------- snip ---------------\n# zerobuild makefile\n\n[executable, name = zerobuild]\nsources = global.h, parser.c, make.c, process.c\n\nccompiler = clang-3.9\n-------- snip ---------------\n\u003c/pre\u003e\n\nThat's it!\n\nYou can use a different name as \"zerobuild.txt\" too:\n\n\u003cpre\u003e\n$ zerobuild foobar.txt\n\u003c/pre\u003e\n\nAnd to force a full build:\n\n\u003cpre\u003e\n$ zerobuild force\n\u003c/pre\u003e\n\nHere is an example of how to build a shared library:\n\n\u003cpre\u003e\n------------------ snip ------\n# zerobuild makefile\n\n[library, shared, name = libtest.so]\nsources = arr.c, libtest.c, mutex.c, nanovmlib.c\n\nincludes = ../include\n\nccompiler = gcc\narchiver = ar\nlinker = ld\naflags = \"cru\"\n\ncflags = \"-g -ffast-math -fomit-frame-pointer -O3 -march=native\"\nlflags = \"-lc -shared\"\n----------------- snip -------\n\u003c/pre\u003e\n\nStefan Pietzonke  27. July 2022\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoder77%2Fzerobuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoder77%2Fzerobuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoder77%2Fzerobuild/lists"}