aboutsummaryrefslogtreecommitdiff
path: root/tomo.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-18 15:39:22 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-18 15:39:22 -0400
commit7f5af625e5045055173fb776fc5aaa5453704f61 (patch)
treed69a512eef5f5a04f039bc0f9d9a210db5d200bd /tomo.c
parent2d78f11400d61f89845678b40e7b0682f14bba7f (diff)
Support `use`ing .c files and .S files (assembly)
Diffstat (limited to 'tomo.c')
-rw-r--r--tomo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tomo.c b/tomo.c
index 104f2760..9340abe9 100644
--- a/tomo.c
+++ b/tomo.c
@@ -431,6 +431,10 @@ void build_file_dependency_graph(const char *filename, Table_t *to_compile, Tabl
Table$str_set(to_link, lib, lib);
break;
}
+ case USE_ASM: {
+ Table$str_set(to_link, use->path, use->path);
+ break;
+ }
default: case USE_HEADER: break;
}
}