summaryrefslogtreecommitdiff
path: root/maje.h
blob: e51fe6b3cf23113dffc786a09b623c9d7b97f647 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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