18 lines
364 B
C
18 lines
364 B
C
|
|
#ifndef MAKE_OPS_H
|
||
|
|
#define MAKE_OPS_H
|
||
|
|
|
||
|
|
#include "logger.h"
|
||
|
|
|
||
|
|
#define MAX_TARGETS 256
|
||
|
|
#define TARGET_NAME 128
|
||
|
|
|
||
|
|
typedef struct {
|
||
|
|
char names[MAX_TARGETS][TARGET_NAME];
|
||
|
|
int count;
|
||
|
|
} MakeTargets;
|
||
|
|
|
||
|
|
int make_parse_targets(const char *repo_path, MakeTargets *out);
|
||
|
|
int make_build(const char *repo_path, const char *target, Logger *log);
|
||
|
|
|
||
|
|
#endif /* MAKE_OPS_H */
|