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]);