diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-03-27 16:53:14 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-03-27 16:53:14 -0400 |
commit | 1a21f9e690a5e5b334a5c5fbc2b4d1f71d00d43d (patch) | |
tree | ad9b6733871fc075315c6512d8509df5066303e4 /maje.h | |
parent | 2a15bdb94ea913b361c026541eff3cfdcffccde6 (diff) |
initial support for adding local headers as dependencies
Diffstat (limited to 'maje.h')
-rw-r--r-- | maje.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -5,12 +5,15 @@ struct majefile { struct majefile *next; + struct majefile *prev; struct stat st; char path[]; }; struct majefile *find_source_files(const char *path); char *find_main(struct majefile *sources); +struct majefile *find_includes(const struct majefile *file); void make_makefile(const char *makefile, struct majefile *sources, const char *target); +struct majefile *insert_file(struct majefile *list, const char *path, const struct stat *st); #endif |