Skip to content

Added lib target to make and separate named targets for samples#116

Merged
AjayBrahmakshatriya merged 1 commit into
BuildIt-lang:masterfrom
AjayBrahmakshatriya:master
Apr 27, 2026
Merged

Added lib target to make and separate named targets for samples#116
AjayBrahmakshatriya merged 1 commit into
BuildIt-lang:masterfrom
AjayBrahmakshatriya:master

Conversation

@AjayBrahmakshatriya

Copy link
Copy Markdown
Collaborator

Added two new targets to the build system.

  1. lib - Builds just the BuildIt library without building the sample object files or linking the executables. Useful if building as a dependency. Since headers are served from the include/ directory, they don't need to be built. Requested in Building BuildIt without building all of the samples #114
  2. sample% - Allows building a specific sample by referring to it by name. Previously we had to run make $(pwd)/build/sample1 which can simply now be done as make sample1 and so on.

@AjayBrahmakshatriya AjayBrahmakshatriya merged commit 0ac10f3 into BuildIt-lang:master Apr 27, 2026
3 checks passed
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.

1 participant