summaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-08-13 15:26:40 +0000
committerMartin v. Löwis <martin@v.loewis.de>2004-08-13 15:26:40 +0000
commit08d786a6086a31139edfbb40769dfebed3c9e7c3 (patch)
tree4147234d4af3cf2e57bcbd218f1adb3f7e0ddf8b /PC
parentcc0def18685bab5b75e62d3c1780aa921b5f3396 (diff)
downloadcpython-git-08d786a6086a31139edfbb40769dfebed3c9e7c3.tar.gz
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 0000000000..4a132c918b
--- /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 0000000000..d0b44105c0
--- /dev/null
+++ b/PC/icons.rc
@@ -0,0 +1,4 @@
+101 ICON "py.ico"
+102 ICON "pyc.ico"
+103 ICON "pycon.ico"
+