]> granicus.if.org Git - python/commitdiff
Help compiling icons into an exe, for use with MSI advertisement.
authorMartin v. Löwis <martin@v.loewis.de>
Fri, 13 Aug 2004 15:26:40 +0000 (15:26 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Fri, 13 Aug 2004 15:26:40 +0000 (15:26 +0000)
PC/icons.mak [new file with mode: 0644]
PC/icons.rc [new file with mode: 0644]

diff --git a/PC/icons.mak b/PC/icons.mak
new file mode 100644 (file)
index 0000000..4a132c9
--- /dev/null
@@ -0,0 +1,9 @@
+python_icon.exe:       py.res empty.obj
+       link /out:python_icon.exe /machine:x86 /subsystem:windows py.res empty.obj
+
+py.res:        py.ico pyc.ico pycon.ico icons.rc
+       rc /fo py.res icons.rc
+
+empty.obj:     empty.c
+       cl /c empty.c
+
diff --git a/PC/icons.rc b/PC/icons.rc
new file mode 100644 (file)
index 0000000..d0b4410
--- /dev/null
@@ -0,0 +1,4 @@
+101 ICON "py.ico"
+102 ICON "pyc.ico"
+103 ICON "pycon.ico"
+