Commit Graph

12 Commits

Author SHA1 Message Date
Quinn
33ffa6d89e rework makefile logging to be more readable
added the log categories explicitly, removing the need for specifying
the log colour with each log
2025-05-01 16:48:38 +02:00
Quinn
64691550bd use a more dynamic makefile
- remove CLANG env, as it might be confused for the compiler. And it
doesn't fit the build system that well anyway. (as we're compiling based
on file extension already)
- locate source files using find, rather than a bunch of wildcards.
- rename TARGET to BIN and store DIR_BIN and DIR_OBJ for the output
directories
- use pattern matchin for C object file creation, rather than specifying
all the sources manually
- remove directory target as directory creation is handled by the
recipe's themselves now.
2025-05-01 16:48:38 +02:00
Quinn
c363fb6481 use bear whenever available, rather than only when debugging 2025-05-01 16:48:37 +02:00
Quinn
85bb26a08c use cargo instead of rustc 2025-05-01 16:48:35 +02:00
Quinn
961b8796ee use printf instead of echo due to some minor issues 2025-05-01 16:48:34 +02:00
Quinn
ec06481a36 write todo comments 2025-05-01 16:48:33 +02:00
Quinn
4c0f0a5aa9 introduce target flags for linking step 2025-05-01 16:48:31 +02:00
Quinn
2754fcbe3f warnings as errors 2025-05-01 16:48:30 +02:00
Quinn
c913e62fcc seperate rust flags out of the rust compilation command
for consistency and able to specify a target now, which is still
relevant for linking, despite not using the standard library
2025-05-01 16:48:30 +02:00
Quinn
801ed6ba76 always compile as static library 2025-05-01 16:48:29 +02:00
Quinn
07f4e5fe48 remove unused version 2025-05-01 16:48:28 +02:00
Quinn
7a64aefcac setup project files
Added (most) of the project files to the working tree.
Some work still needs to be done to make the rust/C communication better
before we can fully move on to starting to write the actual applicaiton.
2025-05-01 16:48:18 +02:00