- infiles = o->filePaths;
-
- sprintf(tmp, "\"$(TARGETDIR)\\$(CMNTARGET)\" : $(DATAFILEPATHS)\n\t@\"$(GENCMN)\" -C \"%s\" -d \"%s\" -n \"$(NAME)\" 0 <<\n",
- o->comment, o->targetDir);
+ infiles = o->files;
+ sprintf(tmp, "\"$(TARGETDIR)\\$(CMNTARGET)\" : $(DATAFILEPATHS)\n"
+ "\t%s\"$(GENCMN)\" %s%s%s-d \"$(TARGETDIR)\" -s \"$(SRCDIR)\" -n \"$(NAME)\" 0 <<\n",
+ (o->verbose ? "" : "@"),
+ (o->comment ? "-C \"" : ""),
+ (o->comment ? o->comment : ""),
+ (o->comment ? "\" " : ""));