From 66547e7ddf89ca8c2bf23e9edfd35b6b119d3c5d Mon Sep 17 00:00:00 2001 From: Reijo Tomperi Date: Thu, 8 Jan 2009 21:02:03 +0000 Subject: [PATCH] Fixed make install from the generated makefile --- Makefile | 1 + tools/dmake.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ef0ef376c..a16afab4d 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ CXXFLAGS=-Wall -pedantic -g +BIN=${DESTDIR}/usr/bin ###### Object Files diff --git a/tools/dmake.cpp b/tools/dmake.cpp index d4f590bce..0292c2d3b 100644 --- a/tools/dmake.cpp +++ b/tools/dmake.cpp @@ -70,7 +70,8 @@ int main() std::ofstream fout("Makefile"); - fout << "CXXFLAGS=-Wall -pedantic -g\n\n"; + fout << "CXXFLAGS=-Wall -pedantic -g\n"; + fout << "BIN=${DESTDIR}/usr/bin\n\n"; fout << "\n###### Object Files\n\n"; fout << "OBJECTS = " << objfile(srcfiles[0]);