Skip to content

Commit f2ead23

Browse files
committed
remove matchcompiled source files with make clean
1 parent 14a464a commit f2ead23

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ run-dmake: dmake
304304
./dmake
305305

306306
clean:
307-
rm -f build/*.o lib/*.o cli/*.o test/*.o tools/*.o externals/*/*.o testrunner dmake cppcheck cppcheck.exe cppcheck.1
307+
rm -f build/*.cpp build/*.o lib/*.o cli/*.o test/*.o tools/*.o externals/*/*.o testrunner dmake cppcheck cppcheck.exe cppcheck.1
308308

309309
man: man/cppcheck.1
310310

tools/dmake.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ int main(int argc, char **argv)
425425
fout << "run-dmake: dmake\n";
426426
fout << "\t./dmake\n\n";
427427
fout << "clean:\n";
428-
fout << "\trm -f build/*.o lib/*.o cli/*.o test/*.o tools/*.o externals/*/*.o testrunner dmake cppcheck cppcheck.exe cppcheck.1\n\n";
428+
fout << "\trm -f build/*.cpp build/*.o lib/*.o cli/*.o test/*.o tools/*.o externals/*/*.o testrunner dmake cppcheck cppcheck.exe cppcheck.1\n\n";
429429
fout << "man:\tman/cppcheck.1\n\n";
430430
fout << "man/cppcheck.1:\t$(MAN_SOURCE)\n\n";
431431
fout << "\t$(XP) $(DB2MAN) $(MAN_SOURCE)\n\n";

0 commit comments

Comments
 (0)