Static template generator for C
git clone git://soophie.de/ductape
339
}340
char *headerpath = getenv(DUC_HEADERPATH);341
char *buildpath = getenv(DUC_BUILDPATH);342
fprintf(stdout, "[ductape] Compiling templates...\n ." DUC_HEADERPATH " = '%s'\n ." DUC_BUILDPATH " = '%s'\n", headerpath ? headerpath : "./", buildpath ? buildpath : "./");342
char *libpath = getenv(DUC_LIBPATH);343
fprintf(stdout, "[ductape] Compiling templates...\n");344
fprintf(stdout, " ." DUC_HEADERPATH " = '%s'\n", headerpath ? headerpath : "./");345
fprintf(stdout, " ." DUC_BUILDPATH " = '%s'\n", buildpath ? buildpath : "./");346
if (libpath) {347
fprintf(stdout, " ." DUC_LIBPATH " = '%s'\n", libpath);348
}349
duc_err_t err = DUC_ERR_OK;350
for (size_t i = 1; i < (size_t) argc; i++) {351
char *filepath = argv[i];