reduce is linking against LIBS as well, to keep build scripts e.g. on travis working
This commit is contained in:
parent
fb13c56ef0
commit
9ac83d7624
2
Makefile
2
Makefile
|
@ -233,7 +233,7 @@ dmake: tools/dmake.cpp
|
||||||
./dmake
|
./dmake
|
||||||
|
|
||||||
reduce: tools/reduce.cpp $(LIBOBJ)
|
reduce: tools/reduce.cpp $(LIBOBJ)
|
||||||
$(CXX) -std=c++0x -g -o reduce tools/reduce.cpp -Ilib -Iexternals/tinyxml $(LIBOBJ) externals/tinyxml/tinyxml2.cpp
|
$(CXX) -std=c++0x -g -o reduce tools/reduce.cpp -Ilib -Iexternals/tinyxml $(LIBOBJ) $(LIBS) externals/tinyxml/tinyxml2.cpp
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f build/*.o lib/*.o cli/*.o test/*.o externals/tinyxml/*.o testrunner reduce cppcheck cppcheck.1
|
rm -f build/*.o lib/*.o cli/*.o test/*.o externals/tinyxml/*.o testrunner reduce cppcheck cppcheck.1
|
||||||
|
|
|
@ -380,7 +380,7 @@ int main(int argc, char **argv)
|
||||||
fout << "\t$(CXX) -std=c++0x -o dmake tools/dmake.cpp cli/filelister.cpp lib/path.cpp -Ilib $(LDFLAGS)\n";
|
fout << "\t$(CXX) -std=c++0x -o dmake tools/dmake.cpp cli/filelister.cpp lib/path.cpp -Ilib $(LDFLAGS)\n";
|
||||||
fout << "\t./dmake\n\n";
|
fout << "\t./dmake\n\n";
|
||||||
fout << "reduce:\ttools/reduce.cpp $(LIBOBJ)\n";
|
fout << "reduce:\ttools/reduce.cpp $(LIBOBJ)\n";
|
||||||
fout << "\t$(CXX) -std=c++0x -g -o reduce tools/reduce.cpp -Ilib -Iexternals/tinyxml $(LIBOBJ) externals/tinyxml/tinyxml2.cpp\n\n";
|
fout << "\t$(CXX) -std=c++0x -g -o reduce tools/reduce.cpp -Ilib -Iexternals/tinyxml $(LIBOBJ) $(LIBS) externals/tinyxml/tinyxml2.cpp\n\n";
|
||||||
fout << "clean:\n";
|
fout << "clean:\n";
|
||||||
fout << "\trm -f build/*.o lib/*.o cli/*.o test/*.o externals/tinyxml/*.o testrunner reduce cppcheck cppcheck.1\n\n";
|
fout << "\trm -f build/*.o lib/*.o cli/*.o test/*.o externals/tinyxml/*.o testrunner reduce cppcheck cppcheck.1\n\n";
|
||||||
fout << "man:\tman/cppcheck.1\n\n";
|
fout << "man:\tman/cppcheck.1\n\n";
|
||||||
|
|
Loading…
Reference in New Issue