Compiled Token::Match patterns: let 'make clean' cleanup compiled patterns
This commit is contained in:
parent
ef5eece286
commit
94930c3bd7
2
Makefile
2
Makefile
|
@ -205,7 +205,7 @@ dmake: tools/dmake.cpp
|
||||||
$(CXX) -o dmake tools/dmake.cpp cli/filelister.cpp lib/path.cpp -Ilib
|
$(CXX) -o dmake tools/dmake.cpp cli/filelister.cpp lib/path.cpp -Ilib
|
||||||
|
|
||||||
clean:
|
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
|
man: man/cppcheck.1
|
||||||
|
|
||||||
|
|
|
@ -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 << "\t$(CXX) -o dmake tools/dmake.cpp cli/filelister.cpp lib/path.cpp -Ilib\n\n";
|
||||||
fout << "clean:\n";
|
fout << "clean:\n";
|
||||||
#ifdef _WIN32
|
#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
|
#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:\tman/cppcheck.1\n\n";
|
||||||
fout << "man/cppcheck.1:\t$(MAN_SOURCE)\n\n";
|
fout << "man/cppcheck.1:\t$(MAN_SOURCE)\n\n";
|
||||||
fout << "\t$(XP) $(DB2MAN) $(MAN_SOURCE)\n\n";
|
fout << "\t$(XP) $(DB2MAN) $(MAN_SOURCE)\n\n";
|
||||||
|
|
Loading…
Reference in New Issue