summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-08-13 15:26:40 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-08-13 15:26:40 (GMT)
commit08d786a6086a31139edfbb40769dfebed3c9e7c3 (patch)
tree4147234d4af3cf2e57bcbd218f1adb3f7e0ddf8b /PC
parentcc0def18685bab5b75e62d3c1780aa921b5f3396 (diff)
downloadcpython-08d786a6086a31139edfbb40769dfebed3c9e7c3.zip
cpython-08d786a6086a31139edfbb40769dfebed3c9e7c3.tar.gz
cpython-08d786a6086a31139edfbb40769dfebed3c9e7c3.tar.bz2
Help compiling icons into an exe, for use with MSI advertisement.
Diffstat (limited to 'PC')
-rw-r--r--PC/icons.mak9
-rw-r--r--PC/icons.rc4
2 files changed, 13 insertions, 0 deletions
diff --git a/PC/icons.mak b/PC/icons.mak
new file mode 100644
index 0000000..4a132c9
--- /dev/null
+++ b/PC/icons.mak
@@ -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
index 0000000..d0b4410
--- /dev/null
+++ b/PC/icons.rc
@@ -0,0 +1,4 @@
+101 ICON "py.ico"
+102 ICON "pyc.ico"
+103 ICON "pycon.ico"
+