Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2024-08-09 | touch: mitigate potential uninitialized pointerrunxiyu/overhauling-the-build-system | Runxi Yu | 1 | -2/+5 | |
If the while loop doesn't run (i.e. getopt returns -1 on first run), datefmt and date_string end up uninitialized. So we hereby initialize them to NULL and check if they're NULL at the end of the loop, to be safe. | |||||
2024-08-09 | mkdir: initialize success | Runxi Yu | 1 | -1/+1 | |
2024-08-09 | cat: initialize err | Runxi Yu | 1 | -1/+1 | |
2024-08-06 | Use a new build system for everything, and revamp directories. | Runxi Yu | 62 | -525/+252 | |
Previously there was quite a bit of sed(1)'ing going on on each source file, and a bit of copying them to box_tmp. Now we use preprocessor directives instead, things should be much cleaner. And since it's a pain to prefix strings, move all programs out of subdirs. I've also clarified the Makefile system a bit. I'm unsure how to make standalone programs with POSIX Make, so currently we only generate fases-in-a-box. | |||||
2024-07-27 | common.mk, sh/Makefile: s/$(NOLINKER)/-c/gHEADmaster | Runxi Yu | 2 | -2/+2 | |
I previously changed this in the main Makefile but forgot to port it over to the other Makefiles. |