Skip to content

Console#25

Merged
differrari merged 59 commits intomainfrom
console
Aug 11, 2025
Merged

Console#25
differrari merged 59 commits intomainfrom
console

Conversation

@differrari
Copy link
Copy Markdown
Owner

No description provided.

Di Ferrari added 30 commits August 3, 2025 00:00
# Conflicts:
#	kernel/console/kconsole/kconsole.hpp
#	kernel/filesystem/filesystem.cpp
Di Ferrari and others added 27 commits August 9, 2025 00:00
# Conflicts:
#	kernel/kernel.c
This causes source files which depend on headers to be rebuilt
when the header changes. `-MMD` generates the dependencies in
`*.d` files, excluding system headers. `-MP` adds fake rules
for headers to the dependencies file so build doesn't break if
a header is removed. Update `.gitignore` to ignore new `*.d`
files.
Use GCC dependency generation in Makefiles
Instead of using `gcc` to compile both C and C++, use `gcc` for C
and `g++` for C++. This allows to split flags more cleanly.
Re-organize flag variables a bit, adding `CPPFLAGS` for C
preprocessor flags, `CFLAGS` for C compiler flags and
`CXXFLAGS` for C++ compiler flags.
This makes it easier to see the build output/warnings.
Full build output can be enabled with `make V=1`.
Include common.mk from the other Makefiles instead of exporting
variables from the top-level Makefile so they get expanded
correctly.
@codebrainz
Copy link
Copy Markdown
Contributor

In my opinion you should keep your working branches such as this (re)based on the main branch and avoid keeping them diverged for so long. It might make a bit of a mess re-writing history, but so long as you don't re-write the main branch history it doesn't seem like a big deal. At worst it will teach us contributors how to use Git better :)

@differrari differrari merged commit e305db7 into main Aug 11, 2025
1 check passed
@differrari differrari deleted the console branch August 11, 2025 10:10
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.

2 participants