aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--make.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/make.c b/make.c
index 1cc7bd7..4a21735 100644
--- a/make.c
+++ b/make.c
@@ -153,7 +153,7 @@ cc(void *arg)
struct strs cmd = {0};
char *dst = swpext(arg, "o"), *src = arg;
- if (!fflag && !foutdatedl(dst, src))
+ if (!fflag && fmdnewer(dst, src))
goto out;
strspushenvl(&cmd, "CC", "cc");
@@ -183,7 +183,7 @@ gperf(void *arg)
struct strs cmd = {0};
char *dst = swpext(arg, "gen.c"), *src = arg;
- if (!fflag && !foutdatedl(dst, src))
+ if (!fflag && fmdnewer(dst, src))
goto out;
strspushl(&cmd, "gperf", src, "--output-file", dst);
@@ -217,7 +217,7 @@ ld(void)
for (size_t i = 0; i < g.gl_pathc; i++) {
if (!tagvalid(g.gl_pathv[i]))
continue;
- if (foutdatedl(TARGET, g.gl_pathv[i]))
+ if (fmdolder(TARGET, g.gl_pathv[i]))
dobuild = true;
strspushl(&cmd, g.gl_pathv[i]);
}