Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions makegen.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ void print_source_targets(char *dirname) {
fprintf(stderr, "processing C file for compile: %s:\n", fullpath);
printf("# C source file: %s\n", fullpath);
fflush(stdout);
sprintf(tempstr, "%s %s %s -MM -MT '$(OUT_DIR)'/%s.o %s 2>&1",
sprintf(tempstr, "%s %s %s -MM -MT '$(OUT_DIR)'/%s.o %s",
c_compiler_exec, include_paths, c_compiler_flags, derived_ofile, fullpath);
system(tempstr);
printf("\t@echo 'compiling %s...'\n", de->d_name);
Expand All @@ -466,7 +466,7 @@ void print_source_targets(char *dirname) {
fprintf(stderr, "processing C++ file for compile: %s:\n", fullpath);
printf("# C++ source file: %s\n", fullpath);
fflush(stdout);
sprintf(tempstr, "%s %s %s -MM -MT '$(OUT_DIR)'/%s.o %s 2>&1",
sprintf(tempstr, "%s %s %s -MM -MT '$(OUT_DIR)'/%s.o %s",
cpp_compiler_exec, include_paths, cpp_compiler_flags, derived_ofile, fullpath);
system(tempstr);
printf("\t@echo 'compiling %s...'\n", de->d_name);
Expand Down