[Python-checkins] r85771 - python/branches/py3k/Tools/freeze/winmakemakefile.py

georg.brandl python-checkins at python.org
Thu Oct 21 15:34:51 CEST 2010


Author: georg.brandl
Date: Thu Oct 21 15:34:51 2010
New Revision: 85771

Log:
#1203650: allow larger list of files in windows makefile for freeze.

Modified:
   python/branches/py3k/Tools/freeze/winmakemakefile.py

Modified: python/branches/py3k/Tools/freeze/winmakemakefile.py
==============================================================================
--- python/branches/py3k/Tools/freeze/winmakemakefile.py	(original)
+++ python/branches/py3k/Tools/freeze/winmakemakefile.py	Thu Oct 21 15:34:51 2010
@@ -134,12 +134,14 @@
     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")


More information about the Python-checkins mailing list