]> granicus.if.org Git - python/commitdiff
#1203650: allow larger list of files in windows makefile for freeze.
authorGeorg Brandl <georg@python.org>
Thu, 21 Oct 2010 13:34:51 +0000 (13:34 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 21 Oct 2010 13:34:51 +0000 (13:34 +0000)
Tools/freeze/winmakemakefile.py

index 7d198c152fafe7e9c4e78c23a5d4cc59c2a4e65c..3843388c119c4eef67aa237d4ea4179439b4eb07 100644 (file)
@@ -134,12 +134,14 @@ def realwork(vars, moddefns, target):
     print() ; print()
 
     print("$(target)$(debug_suffix)%s: $(temp_dir) $(OBJS)" % (target_ext))
-    print("\tlink -out:$(target)$(debug_suffix)%s %s" % (target_ext, target_link_flags), end=' ')
-    print("\t$(OBJS) \\")
-    print("\t$(LIBS) \\")
-    print("\t$(ADDN_LINK_FILES) \\")
-    print("\t$(pythonlib) $(lcustom) $(l_debug)\\")
+    print("\tlink -out:$(target)$(debug_suffix)%s %s" %
+          (target_ext, target_link_flags), "@<<")
+    print("\t$(OBJS)")
+    print("\t$(LIBS)")
+    print("\t$(ADDN_LINK_FILES)")
+    print("\t$(pythonlib) $(lcustom) $(l_debug)")
     print("\t$(resources)")
+    print("<<")
     print()
     print("clean:")
     print("\t-rm -f *.obj")