Lines Matching refs:outFile
64 func writeCMake(outFile *os.File, files []string) error {
67 if _, err := outFile.WriteString(";"); err != nil {
71 if _, err := outFile.WriteString(cMakeQuote(file)); err != nil {
97 func writeDepfile(outFile *os.File, files []string) error {
98 if _, err := fmt.Fprintf(outFile, "%s:", makeQuote(*target)); err != nil {
102 if _, err := fmt.Fprintf(outFile, " %s", makeQuote(file)); err != nil {
106 _, err := outFile.WriteString("\n")
182 outFile := os.Stdout
185 outFile, err = os.Create(*out)
190 defer outFile.Close()
195 err = writeDepfile(outFile, files)
197 err = writeCMake(outFile, files)