From 28d5ad9d21771e8d9238fb8a8edc1ce433633ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 2 Jan 2013 15:36:17 +0100 Subject: [PATCH] dmake: fixed reduce compilation --- Makefile | 4 ++-- tools/dmake.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 2069af4b6..77fb01dbf 100644 --- a/Makefile +++ b/Makefile @@ -204,8 +204,8 @@ check: all dmake: tools/dmake.cpp $(CXX) -o dmake tools/dmake.cpp cli/filelister.cpp lib/path.cpp -Ilib -reduce: tools/reduce.cpp $(LIBOBJ) - $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o reduce tools/reduce.cpp -Ilib $(LIBOBJ) +reduce: tools/reduce.cpp + $(CXX) -g -o reduce tools/reduce.cpp -Ilib lib/*.cpp clean: rm -f build/*.o lib/*.o cli/*.o test/*.o externals/tinyxml/*.o testrunner cppcheck cppcheck.1 diff --git a/tools/dmake.cpp b/tools/dmake.cpp index 612b35cf4..e9d113a8e 100644 --- a/tools/dmake.cpp +++ b/tools/dmake.cpp @@ -352,8 +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\t$(LIBOBJ)\n"; - fout << "\t$(CXX) $(CPPFLAGS) $(CXXFLAGS) -o reduce tools/reduce.cpp -Ilib $(LIBOBJ)\n\n"; + fout << "reduce:\ttools/reduce.cpp\n"; + fout << "\t$(CXX) -g -o reduce tools/reduce.cpp -Ilib lib/*.cpp\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";