Fixed make install from the generated makefile

This commit is contained in:
Reijo Tomperi 2009-01-08 21:02:03 +00:00
parent 5d0f8f0cfa
commit 66547e7ddf
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,5 @@
CXXFLAGS=-Wall -pedantic -g CXXFLAGS=-Wall -pedantic -g
BIN=${DESTDIR}/usr/bin
###### Object Files ###### Object Files

View File

@ -70,7 +70,8 @@ int main()
std::ofstream fout("Makefile"); 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 << "\n###### Object Files\n\n";
fout << "OBJECTS = " << objfile(srcfiles[0]); fout << "OBJECTS = " << objfile(srcfiles[0]);