aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2015-03-10 23:35:43 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2015-03-10 23:35:43 +0100
commit647e6ebe5859a56efa8a164f3264003920d85da3 (patch)
treebaec9701df8bf400e60b35cf56463d21e57eef98 /src/Makefile.am
parent20cb9a7d13ed36593432509ac0215b21c54d6657 (diff)
downloadsciteco-647e6ebe5859a56efa8a164f3264003920d85da3.tar.gz
added SciTECO icon and compile it into Windows binaries
* sciteco.ico contains a 16 color 16px, a 255 color 32px and a true color 48px version of the icon. The first ones are good for legacy Windows versions like 2000, while the latter one should be preferred by Windows >= 7. * Also added the 48px version as a PNG for Linux. But it is not installed currently, as there is no standardized place for it and it wouldn't do much good in /usr/share/sciteco.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 692ac1d..739aefd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -68,10 +68,18 @@ sciteco_minimal_LDADD = libsciteco-base.a \
@SCINTILLA_PATH@/bin/scintilla.a
bin_PROGRAMS = sciteco
+sciteco_SOURCES =
nodist_sciteco_SOURCES = $(nodist_sciteco_minimal_SOURCES) \
symbols-scintilla.cpp symbols-scilexer.cpp
sciteco_LDADD = $(sciteco_minimal_LDADD)
+# For MinGW: Compile in resource (contains the icon)
+if WIN32
+sciteco_SOURCES += sciteco.rc
+.rc.o:
+ @RC@ $< $@
+endif
+
CLEANFILES = $(BUILT_SOURCES) \
symbols-scintilla.cpp symbols-scilexer.cpp