From e5c94ebbb873958709af7913882fb6aaceefa0da Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 20 Jun 2024 00:11:20 +0200 Subject: Update example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b1405a3..ecc9f8c 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ main(int argc, char **argv) rebuild(); /* If the compiled binary isn’t outdated, do nothing */ - if (!foutdatedl("my-file", "my-file.c")) + if (fmdnewer("my-file", "my-file.c")) return EXIT_SUCCESS; /* Append ‘cc’ and our cflags to the command, but allow the user to use the @@ -89,7 +89,7 @@ main(int argc, char **argv) strspushl(&cmd, "-llux"); /* Push the final arguments to our command */ - strspushl(&cmd, "-o", "my-file", "-c", "my-file.c"); + strspushl(&cmd, "-o", "my-file", "my-file.c"); /* Print our command to stdout, and execute it */ cmdput(cmd); -- cgit v1.2.3