From 94930c3bd7e95c69c2ff2bc6f2f897597c0eb0e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 2 Dec 2012 13:42:48 +0100 Subject: [PATCH] Compiled Token::Match patterns: let 'make clean' cleanup compiled patterns --- Makefile | 2 +- tools/dmake.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3d4725263..e41ec661e 100644 --- a/Makefile +++ b/Makefile @@ -205,7 +205,7 @@ dmake: tools/dmake.cpp $(CXX) -o dmake tools/dmake.cpp cli/filelister.cpp lib/path.cpp -Ilib clean: - rm -f lib/*.o cli/*.o test/*.o externals/tinyxml/*.o testrunner cppcheck cppcheck.1 + rm -f build/*.o lib/*.o cli/*.o test/*.o externals/tinyxml/*.o testrunner cppcheck cppcheck.1 man: man/cppcheck.1 diff --git a/tools/dmake.cpp b/tools/dmake.cpp index aa2d2323c..19985b76d 100644 --- a/tools/dmake.cpp +++ b/tools/dmake.cpp @@ -354,9 +354,9 @@ int main(int argc, char **argv) fout << "\t$(CXX) -o dmake tools/dmake.cpp cli/filelister.cpp lib/path.cpp -Ilib\n\n"; fout << "clean:\n"; #ifdef _WIN32 - fout << "\tdel lib\\*.o\n\tdel cli\\*.o\n\tdel test\\*.o\n\tdel *.exe\n"; + fout << "\tdel build\\*.o\n\tdel lib\\*.o\n\tdel cli\\*.o\n\tdel test\\*.o\n\tdel *.exe\n"; #else - fout << "\trm -f lib/*.o cli/*.o test/*.o externals/tinyxml/*.o testrunner cppcheck cppcheck.1\n\n"; + fout << "\trm -f build/*.o lib/*.o cli/*.o test/*.o externals/tinyxml/*.o testrunner cppcheck cppcheck.1\n\n"; fout << "man:\tman/cppcheck.1\n\n"; fout << "man/cppcheck.1:\t$(MAN_SOURCE)\n\n"; fout << "\t$(XP) $(DB2MAN) $(MAN_SOURCE)\n\n";