Use CXXFLAGS upon linking dmake for consistency
This commit is contained in:
parent
d17f926422
commit
417a916ece
2
Makefile
2
Makefile
|
@ -239,7 +239,7 @@ check: all
|
|||
./testrunner -g -q
|
||||
|
||||
dmake: tools/dmake.o cli/filelister.o lib/path.o
|
||||
$(CXX) -std=c++0x -o dmake tools/dmake.o cli/filelister.o lib/path.o -Ilib $(LDFLAGS)
|
||||
$(CXX) $(CXXFLAGS) -std=c++0x -o dmake tools/dmake.o cli/filelister.o lib/path.o -Ilib $(LDFLAGS)
|
||||
./dmake
|
||||
|
||||
reduce: tools/reduce.o externals/tinyxml/tinyxml2.o $(LIBOBJ)
|
||||
|
|
|
@ -392,7 +392,7 @@ int main(int argc, char **argv)
|
|||
fout << "check:\tall\n";
|
||||
fout << "\t./testrunner -g -q\n\n";
|
||||
fout << "dmake:\ttools/dmake.o cli/filelister.o lib/path.o\n";
|
||||
fout << "\t$(CXX) -std=c++0x -o dmake tools/dmake.o cli/filelister.o lib/path.o -Ilib $(LDFLAGS)\n";
|
||||
fout << "\t$(CXX) $(CXXFLAGS) -std=c++0x -o dmake tools/dmake.o cli/filelister.o lib/path.o -Ilib $(LDFLAGS)\n";
|
||||
fout << "\t./dmake\n\n";
|
||||
fout << "reduce:\ttools/reduce.o externals/tinyxml/tinyxml2.o $(LIBOBJ)\n";
|
||||
fout << "\t$(CXX) $(CPPFLAGS) $(CXXFLAGS) -std=c++0x -g -o reduce tools/reduce.o -Ilib -Iexternals/tinyxml $(LIBOBJ) $(LIBS) externals/tinyxml/tinyxml2.o $(LDFLAGS) $(RDYNAMIC)\n\n";
|
||||
|
|
Loading…
Reference in New Issue