| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
It's actually pretty easy now, fatal() is used as a short cut for
appending the strerror'd errno, while die() is just the generic version
of printing errors that behaves just like fprintf(stderr, msg) + exit().
|
|
|
|
|
|
|
|
| |
The resulting redo binary behaves differently if called with each
respective redo-* name, and is symlinked to the different command names.
This should reduce the memory footprint of a redo build, as the OS only
needs to keep one copy of the redo code in memory.
|
|
|
|
| |
Defined error messages have also been replaced with string literals.
|
|
|
|
|
|
|
|
| |
It's done a lot more efficiently now, as we are no longer checking if a
target is out-of-date before we rebuild it, but instead rebuild
subtargets directly when they are checked.
We also now correctly depend on .do files.
|
| |
|
| |
|
| |
|
|
|
|
| |
I mean, a constant string substition? Really?
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Targets still do not depend on .do-files, and a lot of the edge cases
are still not handled correctly. Furthermore some error-checking code is
still missing, which could possibly crash the program (partially marked
with comments), as well as some free() calls.
An utitlity python script (print_dep.py) was also added to aid in
debugging matters.
|
|
|
|
|
| |
The magic number will be used later to determine if a target has already
been rebuild.
|
| |
|
| |
|
| |
|
| |
|
|
|