Skip to content

chore(makefile): add platform-aware build, cross-compilation, and uti…#87

Open
ani1609 wants to merge 1 commit intokubeslice:masterfrom
ani1609:feat/makefile-default-local-build-84
Open

chore(makefile): add platform-aware build, cross-compilation, and uti…#87
ani1609 wants to merge 1 commit intokubeslice:masterfrom
ani1609:feat/makefile-default-local-build-84

Conversation

@ani1609
Copy link

@ani1609 ani1609 commented Aug 2, 2025

Description

Added Makefile enhancements for improved build system and developer convenience.

  • Added platform-aware build target for current OS/Arch
  • Added build-all target for cross-compilation
  • Added clean and help targets
  • Ensures consistent binary naming in bin/ directory

Fixes #84

How Has This Been Tested?

Test cases:

  • make build creates binary for current platform in bin/ directory
  • make build-all successfully cross-compiles for all target platforms
  • make clean removes all build artifacts from bin/ directory
  • make help displays all available targets with descriptions

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit test cases.

Does this PR introduce a breaking change?


…lity targets

Signed-off-by: Ankit Kr Chowdhury <rakesh856100@gmail.com>
@ani1609 ani1609 force-pushed the feat/makefile-default-local-build-84 branch from d934aa4 to 931b50a Compare August 2, 2025 12:32
@ani1609
Copy link
Author

ani1609 commented Aug 2, 2025

ready for review when you have a moment @narmidm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Optimize Makefile to Build for Current OS/Arch by Default

1 participant