diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Makefile.in | 9 | ||||
-rw-r--r-- | Src/zsh.ico | bin | 0 -> 766 bytes | |||
-rw-r--r-- | Src/zsh.rc | 8 |
3 files changed, 15 insertions, 2 deletions
diff --git a/Src/Makefile.in b/Src/Makefile.in index 7ddddeb9b..440254005 100644 --- a/Src/Makefile.in +++ b/Src/Makefile.in @@ -78,14 +78,19 @@ NNTRYOBJ = LDRUNPATH = LD_RUN_PATH=$(libdir)/$(tzsh) NDRUNPATH = -zsh$(EXEEXT): $(@L@IBZSH) $(@L@STMP) $(MAIN_OBJS) zsh.export +EXTRAZSHOBJS = @EXTRAZSHOBJS@ + +zsh$(EXEEXT): $(@L@IBZSH) $(@L@STMP) $(MAIN_OBJS) zsh.export $(EXTRAZSHOBJS) rm -f $@ - $(@L@DRUNPATH) $(LINK) $(MAIN_OBJS) $(@L@LIST) $(ZSH_@E@XPORT) $(@L@IBZSH) $(LIBS) + $(@L@DRUNPATH) $(LINK) $(MAIN_OBJS) $(EXTRAZSHOBJS) $(@L@LIST) $(ZSH_@E@XPORT) $(@L@IBZSH) $(LIBS) $(LIBZSH): $(LIBOBJS) $(NSTMP) rm -f $@ $(DLLINK) $(LIBOBJS) $(NLIST) $(LIBS) +zsh.res.o: $(sdir)/zsh.rc $(sdir)/zsh.ico + windres -O coff --include-dir $(sdir) -i $(sdir)/zsh.rc -o zsh.res.o + stamp-modobjs: modobjs @if cmp -s stamp-modobjs.tmp stamp-modobjs; then \ rm -f stamp-modobjs.tmp; \ diff --git a/Src/zsh.ico b/Src/zsh.ico new file mode 100644 index 000000000..64d822211 --- /dev/null +++ b/Src/zsh.ico Binary files differdiff --git a/Src/zsh.rc b/Src/zsh.rc new file mode 100644 index 000000000..93c82ba1f --- /dev/null +++ b/Src/zsh.rc @@ -0,0 +1,8 @@ +// Use this file as follows +// +// myapp.exe : myapp.o myapp.res +// gcc -mwindows myapp.o myapp.res -o $@ +// +// myapp.res : myapp.rc resource.h +// windres $< -O coff -o $@ +IDR_MAINFRAME ICON DISCARDABLE "zsh.ico" |