Fixed make install from the generated makefile
This commit is contained in:
parent
5d0f8f0cfa
commit
66547e7ddf
1
Makefile
1
Makefile
|
@ -1,4 +1,5 @@
|
||||||
CXXFLAGS=-Wall -pedantic -g
|
CXXFLAGS=-Wall -pedantic -g
|
||||||
|
BIN=${DESTDIR}/usr/bin
|
||||||
|
|
||||||
|
|
||||||
###### Object Files
|
###### Object Files
|
||||||
|
|
|
@ -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]);
|
||||||
|
|
Loading…
Reference in New Issue