summaryrefslogtreecommitdiff
path: root/maje.h
blob: 5a3cc89faaebe02e830d17a212022eb8cb93321d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef MAJE_H
#define MAJE_H

#include <sys/stat.h>

struct majefile {
	struct majefile *next;
	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