dmake: use 'make reduce' to compile the reduce program

This commit is contained in:
Daniel Marjamäki 2013-01-02 13:30:06 +01:00
parent e0a902e071
commit 9877b77291
2 changed files with 5 additions and 0 deletions

View File

@ -204,6 +204,9 @@ check: all
dmake: tools/dmake.cpp
$(CXX) -o dmake tools/dmake.cpp cli/filelister.cpp lib/path.cpp -Ilib
reduce: tools/reduce.cpp
$(CXX) -o reduce tools/reduce.cpp -Ilib $(LIBOBJ)
clean:
rm -f build/*.o lib/*.o cli/*.o test/*.o externals/tinyxml/*.o testrunner cppcheck cppcheck.1

View File

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