Go to the documentation of this file.
21 free((
void *)file_name);
26 file =
malloc(
sizeof(*file));
27 memset(file, 0,
sizeof(*file));
37 struct symbol *sym, *env_sym;
44 out = fopen(
"..config.tmp",
"w");
47 fprintf(out,
"deps_config := \\\n");
65 value = getenv(env_sym->
name);
68 fprintf(out,
"ifneq \"$(%s)\" \"%s\"\n", env_sym->
name, value);
73 fprintf(out,
"\n$(deps_config): ;\n");
75 rename(
"..config.tmp", name);
84 gs.
s =
malloc(
sizeof(
char) * 64);
117 gs->
s = realloc(gs->
s, l);