From b4c1b2145d6a0b1ec4219847dc26877046f84e8b Mon Sep 17 00:00:00 2001 From: Tharre Date: Sun, 16 Nov 2014 17:30:35 +0100 Subject: Change the way redo updates targets. 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. --- src/build.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/build.h') diff --git a/src/build.h b/src/build.h index 8a5f072..e4ef626 100644 --- a/src/build.h +++ b/src/build.h @@ -12,7 +12,7 @@ #include extern void add_dep(const char *target, const char *parent, int ident); -extern bool has_changed(const char *target, int ident, bool is_sub_dependency); +extern int update_target(const char *target, int ident); extern int build_target(const char *target); extern bool environment_sane(); -- cgit v1.2.3-70-g09d2