def outputExecutableBuildDirective(base, f, make, ctx, prj, output_path): if ctx['target'] == 'emscripten': f.write('\t$(CXX) $(GLOBAL_LDFLAGS) -o ' + prj['obj'] + ' ') gnu_make.outputProjectCompilationUnits(f, make, ctx, prj) # linkage for plink in prj['plinks']: f.write(plink['obj'] + ' ') for llink in prj['llinks']: f.write('-l' + llink + ' ') else: base(f, make, ctx, prj, output_path)
def outputStaticLibBuildDirective(base, f, make, ctx, prj, output_path): if ctx['target'] == 'emscripten': f.write('\t$(CXX) -o ' + prj['obj'] + ' ') gnu_make.outputProjectCompilationUnits(f, make, ctx, prj) else: base(f, make, ctx, prj, output_path)