-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUILD] Update Makefile with MODE
variable that lets user combine multiple targets + more features
#372
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LeaYeh
force-pushed
the
build-makefile-updates
branch
from
August 13, 2024 12:56
f6b9ff3
to
99d1db0
Compare
itislu
force-pushed
the
build-makefile-updates
branch
5 times, most recently
from
August 24, 2024 01:16
80a2827
to
7232a1b
Compare
itislu
changed the title
[BUILD] Update Makefile with improvements from my philosophers project
[BUILD] Update Makefile with Aug 25, 2024
MODE
variable that lets user combine multiple targets + more features
itislu
force-pushed
the
build-makefile-updates
branch
from
August 25, 2024 12:14
087cd7f
to
db91bba
Compare
LeaYeh
approved these changes
Aug 27, 2024
The export is not just important for the library compilation, but for all rules that call make recursively.
This makes the self-documentation easier to read.
With the `MODE` variable multiple compile modes can be combined. Also: - Prepare Makefile for `nocolor` mode. - Add `term` and `clear` targets. - Add printouts for clean targets. - Add MODE printout for all targets. - Improve Makefile layout. - Change terminal window title to `Crash`.
With `make nocolor`, rebuild the project without colors in the prompt and printouts. This mode avoids the issues when moving the cursor in the input line.
itislu
force-pushed
the
build-makefile-updates
branch
from
August 27, 2024 19:14
db91bba
to
0e039cb
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add
MODE
variable that lets user combine multiple targets.Add
nocolor
mode.make nocolor
rebuilds the project without colors in the prompt and printouts.This mode avoids the issues when moving the cursor in the input line.
Add
term
andclear
targets.term
starts minishell in a new terminal window.clear
clears the terminal after compilation.Rename
make fast
tomake opt
.Add printouts for clean targets.
Add MODE printout for all targets.
Improve Makefile layout with more separators.
Change terminal window title to
Crash
.Improve Makefile help messages.
Example of multiple targets combined using new
MODE
env variableMODE
help messageNew
make help
New clean messages