mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-02 16:22:40 -06:00
ide: Makefiles (exposed compiler and linker variables)
git-svn-id: svn://ultimatepp.org/upp/trunk@2064 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
66c7a65f00
commit
fdc9ecbfc6
1 changed files with 3 additions and 2 deletions
|
|
@ -72,7 +72,8 @@ void CppBuilder::AddMakeFile(MakeFile& makefile, String package,
|
|||
makefile.output << (main ? String("$(OutDir)") : makefile.outdir) << makefile.outfile;
|
||||
|
||||
if(main) {
|
||||
makefile.config << "CC = c++\n";
|
||||
makefile.config << "CC = c++\n"
|
||||
"LINKER = $(CC)\n";
|
||||
String flags;
|
||||
if(HasFlag("DEBUG"))
|
||||
flags << " -D_DEBUG " << debug_options;
|
||||
|
|
@ -96,7 +97,7 @@ void CppBuilder::AddMakeFile(MakeFile& makefile, String package,
|
|||
makefile.install << "\t-mkdir -p $(OutDir)\n";
|
||||
Vector<String> lib;
|
||||
String lnk;
|
||||
lnk << "c++";
|
||||
lnk << "$(LINKER)";
|
||||
if(!HasFlag("SHARED"))
|
||||
lnk << " -static";
|
||||
if(HasFlag("WIN32")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue