diff options
Diffstat (limited to 'maje.h')
-rw-r--r-- | maje.h | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -1,3 +1,15 @@ -char **find_source_files(const char *path); -char *find_main(char **sources); -void make_makefile(const char *makefile, char **sources, const char *target); +#ifndef MAJE_H +#define MAJE_H + +#include <sys/stat.h> + +struct majefile { + struct stat st; + char path[]; +}; + +struct majefile **find_source_files(const char *path); +char *find_main(struct majefile **sources); +void make_makefile(const char *makefile, struct majefile **sources, const char *target); + +#endif |