Skip to content

[FEATURE] Native Linux support in makefile.gen / Cross-platform build support #491

Description

@thiagomucci

Is your feature request related to a problem? Please describe.
Yes, currently, makefile.gen is strictly tied to the Windows ecosystem. It relies heavily on Windows-specific shell commands, path formatting, and hardcoded .exe tool chains. When trying to compile a Sega Genesis project on a Linux environment (whether via terminal, scripts, or IDE extensions like Genesis Code in VSCodium), the build instantly fails with syntax and separator errors because the Makefile cannot parse non-Windows environments properly.

Describe the solution you'd like
I would like makefile.gen to become cross-platform and support Linux environments natively. The Makefile should dynamically adapt its core commands, directory separators, and tool execution based on the host operating system, allowing Linux users to compile their projects smoothly without altering the main repository files.

alternatives
Creating manual, stripped-down local Makefiles tailored specifically for Linux, which forces developers to maintain their own build scripts separately from the official SGDK structure.

Relying on custom Docker containers or community-made translation wrappers, which adds extra layers of dependency instead of having out-of-the-box support.

context
Making the default build system cross-platform would greatly benefit the homebrew community, making Sega Genesis development significantly more accessible to developers who use Linux as their primary operating system or rely on open-source IDE setups.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions