diff --git a/Makefile b/Makefile index d0d57c13f..521e94f95 100644 --- a/Makefile +++ b/Makefile @@ -276,11 +276,8 @@ run-dmake: dmake generate_cfg_tests: tools/generate_cfg_tests.o $(EXTOBJ) g++ -Iexternals/tinyxml -o generate_cfg_tests tools/generate_cfg_tests.o $(EXTOBJ) -reduce: tools/reduce.o $(LIBOBJ) $(EXTOBJ) - $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $^ $(LIBS) $(LDFLAGS) $(RDYNAMIC) - clean: - rm -f build/*.o lib/*.o cli/*.o test/*.o tools/*.o externals/*/*.o testrunner reduce dmake cppcheck cppcheck.1 + rm -f build/*.o lib/*.o cli/*.o test/*.o tools/*.o externals/*/*.o testrunner dmake cppcheck cppcheck.1 man: man/cppcheck.1 @@ -701,6 +698,3 @@ tools/dmake.o: tools/dmake.cpp cli/filelister.h lib/pathmatch.h lib/config.h tools/generate_cfg_tests.o: tools/generate_cfg_tests.cpp $(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CFG) $(CXXFLAGS) $(UNDEF_STRICT_ANSI) -c -o tools/generate_cfg_tests.o tools/generate_cfg_tests.cpp -tools/reduce.o: tools/reduce.cpp - $(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CFG) $(CXXFLAGS) $(UNDEF_STRICT_ANSI) -c -o tools/reduce.o tools/reduce.cpp - diff --git a/tools/dmake.cpp b/tools/dmake.cpp index 214884107..416078dde 100644 --- a/tools/dmake.cpp +++ b/tools/dmake.cpp @@ -381,10 +381,8 @@ int main(int argc, char **argv) fout << "\t./dmake\n\n"; fout << "generate_cfg_tests: tools/generate_cfg_tests.o $(EXTOBJ)\n"; fout << "\tg++ -Iexternals/tinyxml -o generate_cfg_tests tools/generate_cfg_tests.o $(EXTOBJ)\n"; - fout << "reduce:\ttools/reduce.o $(LIBOBJ) $(EXTOBJ)\n"; - fout << "\t$(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $^ $(LIBS) $(LDFLAGS) $(RDYNAMIC)\n\n"; fout << "clean:\n"; - fout << "\trm -f build/*.o lib/*.o cli/*.o test/*.o tools/*.o externals/*/*.o testrunner reduce dmake cppcheck cppcheck.1\n\n"; + fout << "\trm -f build/*.o lib/*.o cli/*.o test/*.o tools/*.o externals/*/*.o testrunner dmake 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";