adding the ngspice icon to the MINGW executable

This commit is contained in:
Holger Vogt 2020-05-16 14:08:46 +02:00
parent ba7be26b95
commit db28c65455
4 changed files with 9 additions and 0 deletions

View File

@ -70,6 +70,10 @@ echo "cleaning (see make_clean.log)"
make clean 2>&1 -j8 | tee make_clean.log
exitcode=${PIPESTATUS[0]}
if [ $exitcode -ne 0 ]; then echo "make clean failed"; exit 1 ; fi
echo "compiling the icon"
windres ../src/ngicon.rc -O coff -o ./src/ngicon.o
exitcode=${PIPESTATUS[0]}
if [ $exitcode -ne 0 ]; then echo "compiling the icon failed"; exit 1 ; fi
echo "compiling (see make.log)"
make 2>&1 -j8 | tee make.log
exitcode=${PIPESTATUS[0]}

View File

@ -192,6 +192,10 @@ ngspice_LDADD += frontend/help/libhlp.la
endif
endif
if WINGUI
ngspice_LDADD += ngicon.o
endif
if OLDAPPS
## nutmeg:

1
src/ngicon.rc Normal file
View File

@ -0,0 +1 @@
101 ICON ngspice.ico

BIN
src/ngspice.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B