Last 12 weeks · 0 commits
1 of 6 standards met
This spike is to transpile makefiles to replace include statements with their file contents. This will solve 2 issues: Wanting a way to export Makefile into transpiled Makefile that has inlined includes (Issue #18) Providing help output that includes targets from makefiles (Issue #31) I spiked it out in ruby for easy of scripting: https://gist.github.com/zph/8b3f6afd7a56613a80ef09319c20c7be will read the Makefile, then parse it line by line for include statements, then each include will be recursively filled in with the file content of the Makefile, which will be recursively parsed for include statements... So running on the Makefile at root of this project would yield a portable Makefile like: That full Makefile output can then be used for to correctly report all targets :D. Anyway, it looked fun and caught my attention. Now I need to do the actual work of transcribing and re-implementing.
Repository: tj/mmake. Description: Modern Make Stars: 1736, Forks: 44. Primary language: Go. Languages: Go (97.3%), Ruby (2.5%), Makefile (0.2%). Topics: build-system, build-tool, make, makefile, mmake, task-manager, task-runner. Latest release: v1.4.0 (6y ago). Open PRs: 0, open issues: 11. Last activity: 3y ago. Community health: 28%. Top contributors: tj, zph, tryzniak, gtramontina, kashav, a8m, codekoala, rabingaire, goreleaserbot.