dmake: fixed compilation of reduce

This commit is contained in:
Daniel Marjamäki 2013-01-02 14:43:31 +01:00
parent 6e58ed3040
commit 7f2d9cb7eb
2 changed files with 4 additions and 4 deletions

View File

@ -204,8 +204,8 @@ check: all
dmake: tools/dmake.cpp 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
reduce: tools/reduce.cpp reduce: tools/reduce.cpp $(LIBOBJ)
$(CXX) -o reduce tools/reduce.cpp -Ilib $(LIBOBJ) $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o reduce tools/reduce.cpp -Ilib $(LIBOBJ)
clean: clean:
rm -f build/*.o 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

View File

@ -352,8 +352,8 @@ int main(int argc, char **argv)
fout << "\t./testrunner -g -q\n\n"; fout << "\t./testrunner -g -q\n\n";
fout << "dmake:\ttools/dmake.cpp\n"; fout << "dmake:\ttools/dmake.cpp\n";
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 << "reduce:\ttools/reduce.cpp\n"; fout << "reduce:\ttools/reduce.cpp\t$(LIBOBJ)\n";
fout << "\t$(CXX) -o reduce tools/reduce.cpp -Ilib $(LIBOBJ)\n\n"; fout << "\t$(CXX) $(CPPFLAGS) $(CXXFLAGS) -o reduce tools/reduce.cpp -Ilib $(LIBOBJ)\n\n";
fout << "clean:\n"; fout << "clean:\n";
#ifdef _WIN32 #ifdef _WIN32
fout << "\tdel build\\*.o\n\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";