comparison binary-dist-rules.mk @ 5959:bf9be5e7ab00

octave-launch: Add icons and version info. * installer-files/octave-launch.rc: Add file with resource definition for octave-launch binaries. * binary-dist-rules.mk (installer-files/octave-launch.res): Add build rules for ressource file. * dist-files.mk: Add new files to tarball.
author Markus Mützel <markus.muetzel@gmx.de>
date Sun, 21 Nov 2021 11:55:46 +0100
parents 9cd5425b033b
children 49b3f6c6d255
comparison
equal deleted inserted replaced
5958:ea224bb389e3 5959:bf9be5e7ab00
96 ifeq ($(MXE_WINDOWS_BUILD),yes) 96 ifeq ($(MXE_WINDOWS_BUILD),yes)
97 .PHONY: octave-launch 97 .PHONY: octave-launch
98 octave-launch: installer-files/octave-launch.exe 98 octave-launch: installer-files/octave-launch.exe
99 99
100 ## FIXME: We aren't using VPATH? 100 ## FIXME: We aren't using VPATH?
101 installer-files/octave-launch.exe: $(TOP_DIR)/installer-files/octave-launch.c | installer-files/.dirstamp 101 installer-files/octave-launch.exe: $(TOP_DIR)/installer-files/octave-launch.c installer-files/octave-launch.res | installer-files/.dirstamp
102 $(MXE_CC) $< -o $@ -Wl,--subsystem,windows -lshlwapi -municode -DUNICODE -D_UNICODE 102 $(MXE_CC) $< -o $@ installer-files/octave-launch.res -Wl,--subsystem,windows -lshlwapi -municode -DUNICODE -D_UNICODE
103 103
104 .PHONY: octave-launch-firsttime 104 .PHONY: octave-launch-firsttime
105 octave-launch-firsttime: installer-files/octave-launch-firsttime.exe 105 octave-launch-firsttime: installer-files/octave-launch-firsttime.exe
106 106
107 ## FIXME: We aren't using VPATH? 107 ## FIXME: We aren't using VPATH?
108 installer-files/octave-launch-firsttime.exe: $(TOP_DIR)/installer-files/octave-launch.c | installer-files/.dirstamp 108 installer-files/octave-launch-firsttime.exe: $(TOP_DIR)/installer-files/octave-launch.c installer-files/octave-launch.res | installer-files/.dirstamp
109 $(MXE_CC) $< -o $@ -Wl,--subsystem,windows -lshlwapi -municode -DUNICODE -D_UNICODE -DFIRST_TIME 109 $(MXE_CC) $< -o $@ installer-files/octave-launch.res -Wl,--subsystem,windows -lshlwapi -municode -DUNICODE -D_UNICODE -DFIRST_TIME
110
111 installer-files/octave-launch.res: $(TOP_DIR)/installer-files/octave-launch.rc | installer-files/.dirstamp
112 $(MXE_WINDRES) $< -o $@ -O coff
110 endif 113 endif
111 114
112 ifeq ($(MXE_WINDOWS_BUILD),yes) 115 ifeq ($(MXE_WINDOWS_BUILD),yes)
113 ifeq ($(MXE_NATIVE_BUILD),no) 116 ifeq ($(MXE_NATIVE_BUILD),no)
114 define copy-windows-dist-files 117 define copy-windows-dist-files