From 856b72ef61af7f8cafb4abc4cab522da62900322 Mon Sep 17 00:00:00 2001 From: Tharre Date: Wed, 20 Aug 2014 03:40:08 +0200 Subject: Make targets depend on do-files. This includes two different scenarios, first if the do-files which was used to build the target has changed the target must be rebuilt. Second, if a target was build by a lower priority do-file, like default.fuu.do, then it must be rebuilt if .fuu.do appears. Note that at this point, Redofile as do-file is semi-supported, as it's future is uncertain. --- src/redo-ifchange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/redo-ifchange.c') diff --git a/src/redo-ifchange.c b/src/redo-ifchange.c index c6974ac..e95e92e 100644 --- a/src/redo-ifchange.c +++ b/src/redo-ifchange.c @@ -21,6 +21,6 @@ int main(int argc, char *argv[]) { } else { /*printf("=> yes\n");*/ } - add_dep(argv[i], 'c'); + add_dep(argv[i], NULL, 'c'); } } -- cgit v1.2.3-70-g09d2