aboutsummaryrefslogtreecommitdiff
path: root/make.c
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-02-19 22:49:00 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-02-19 22:49:00 +0100
commit35e2d8608b514c9c67901be49b1379377e7883f9 (patch)
treee313d80ef6ccbdf934f4e8105e902da7dc19b518 /make.c
parent2520b79fdf6c344c358e21518b1a5fbcccb21095 (diff)
Delete c8dump on clean target
Diffstat (limited to 'make.c')
-rw-r--r--make.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/make.c b/make.c
index 1e5301c..32463b2 100644
--- a/make.c
+++ b/make.c
@@ -103,8 +103,9 @@ main(int argc, char **argv)
} else if (streq(*argv, "clean")) {
cmd_t c = {0};
cmdadd(&c, "find", ".", "-type", "f", "(", "-name", "*.[ao]", "-or",
- "-name", "ahoy", "-or", "-name", "c8asm", "-or", "-path",
- "./src/c8asm/autogen-lookup.h", ")", "-delete");
+ "-name", "ahoy", "-or", "-name", "c8asm", "-or", "-name",
+ "c8dump", "-or", "-path", "./src/c8asm/autogen-lookup.h", ")",
+ "-delete");
CMDPRC(c);
} else {
warnx("invalid subcommand -- '%s'", *argv);