Skip to content

Commit fae4e44

Browse files
authored
Fix #14025 (Makefile: make clean does not remove frontend object files) (danmar#7683)
1 parent f68ba93 commit fae4e44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ run-dmake: dmake
375375
./dmake
376376

377377
clean:
378-
rm -f build/*.cpp build/*.o lib/*.o cli/*.o test/*.o tools/dmake/*.o externals/*/*.o testrunner dmake cppcheck cppcheck.exe cppcheck.1
378+
rm -f build/*.cpp build/*.o lib/*.o cli/*.o frontend/*.o test/*.o tools/dmake/*.o externals/*/*.o testrunner dmake cppcheck cppcheck.exe cppcheck.1
379379

380380
man: man/cppcheck.1
381381

tools/dmake/dmake.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ int main(int argc, char **argv)
795795
fout << "run-dmake: dmake\n";
796796
fout << "\t./dmake" << (release ? " --release" : "") << "\n\n"; // Make CI in release builds happy
797797
fout << "clean:\n";
798-
fout << "\trm -f build/*.cpp build/*.o lib/*.o cli/*.o test/*.o tools/dmake/*.o externals/*/*.o testrunner dmake cppcheck cppcheck.exe cppcheck.1\n\n";
798+
fout << "\trm -f build/*.cpp build/*.o lib/*.o cli/*.o frontend/*.o test/*.o tools/dmake/*.o externals/*/*.o testrunner dmake cppcheck cppcheck.exe cppcheck.1\n\n";
799799
fout << "man:\tman/cppcheck.1\n\n";
800800
fout << "man/cppcheck.1:\t$(MAN_SOURCE)\n\n";
801801
fout << "\t$(XP) $(DB2MAN) $(MAN_SOURCE)\n\n";

0 commit comments

Comments
 (0)