Makefile: Remove reduce target
This commit is contained in:
parent
caaa4c0b98
commit
5e88258005
8
Makefile
8
Makefile
|
@ -276,11 +276,8 @@ run-dmake: dmake
|
||||||
|
|
||||||
generate_cfg_tests: tools/generate_cfg_tests.o $(EXTOBJ)
|
generate_cfg_tests: tools/generate_cfg_tests.o $(EXTOBJ)
|
||||||
g++ -Iexternals/tinyxml -o 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:
|
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
|
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
|
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
|
$(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
|
|
||||||
|
|
||||||
|
|
|
@ -381,10 +381,8 @@ int main(int argc, char **argv)
|
||||||
fout << "\t./dmake\n\n";
|
fout << "\t./dmake\n\n";
|
||||||
fout << "generate_cfg_tests: tools/generate_cfg_tests.o $(EXTOBJ)\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 << "\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 << "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:\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