mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-16 00:34:19 +00:00
Linux: Fixed an issue where the Makefile generated by the Projucer would not trigger recompilation when files were changed (Fixes #202)
This commit is contained in:
parent
d6b1796361
commit
3716bc6f66
1 changed files with 18 additions and 1 deletions
|
|
@ -590,6 +590,23 @@ private:
|
|||
<< newLine;
|
||||
}
|
||||
|
||||
void writeIncludeLines (OutputStream& out) const
|
||||
{
|
||||
const int n = targets.size();
|
||||
|
||||
for (int i = 0; i < n; ++i)
|
||||
{
|
||||
if (MakefileTarget* target = targets.getUnchecked (i))
|
||||
{
|
||||
if (target->type == ProjectType::Target::AggregateTarget)
|
||||
continue;
|
||||
|
||||
out << "-include $(OBJECTS_" << target->getTargetVarName()
|
||||
<< ":%.o=%.d)" << newLine;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void writeMakefile (OutputStream& out) const
|
||||
{
|
||||
out << "# Automatically generated makefile, created by the Projucer" << newLine
|
||||
|
|
@ -670,7 +687,7 @@ private:
|
|||
<< "\t-$(V_AT)$(STRIP) --strip-unneeded $(JUCE_OUTDIR)/$(TARGET)" << newLine
|
||||
<< newLine;
|
||||
|
||||
out << "-include $(OBJECTS:%.o=%.d)" << newLine;
|
||||
writeIncludeLines (out);
|
||||
}
|
||||
|
||||
String getArchFlags (const BuildConfiguration& config) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue