Move compiling the ICON from compile_mingw.sh to makefile.am
fixes bug no. #516
This commit is contained in:
parent
104bf06551
commit
4c32f00b4e
|
|
@ -70,10 +70,10 @@ echo "cleaning (see make_clean.log)"
|
||||||
make clean 2>&1 -j8 | tee make_clean.log
|
make clean 2>&1 -j8 | tee make_clean.log
|
||||||
exitcode=${PIPESTATUS[0]}
|
exitcode=${PIPESTATUS[0]}
|
||||||
if [ $exitcode -ne 0 ]; then echo "make clean failed"; exit 1 ; fi
|
if [ $exitcode -ne 0 ]; then echo "make clean failed"; exit 1 ; fi
|
||||||
echo "compiling the icon"
|
# echo "compiling the icon"
|
||||||
windres ../src/ngicon.rc -O coff -o ./src/ngicon.o
|
# windres ../src/ngicon.rc -O coff -o ./src/ngicon.o
|
||||||
exitcode=${PIPESTATUS[0]}
|
# exitcode=${PIPESTATUS[0]}
|
||||||
if [ $exitcode -ne 0 ]; then echo "compiling the icon failed"; exit 1 ; fi
|
# if [ $exitcode -ne 0 ]; then echo "compiling the icon failed"; exit 1 ; fi
|
||||||
echo "compiling (see make.log)"
|
echo "compiling (see make.log)"
|
||||||
make 2>&1 -j8 | tee make.log
|
make 2>&1 -j8 | tee make.log
|
||||||
exitcode=${PIPESTATUS[0]}
|
exitcode=${PIPESTATUS[0]}
|
||||||
|
|
|
||||||
|
|
@ -102,6 +102,16 @@ DYNAMIC_DEVICELIBS = \
|
||||||
|
|
||||||
## Build ngspice first:
|
## Build ngspice first:
|
||||||
|
|
||||||
|
## compile the icon:
|
||||||
|
if WINGUI
|
||||||
|
ngicon.o: ngicon.rc
|
||||||
|
windres $(srcdir)/ngicon.rc -O coff -o ngicon.o
|
||||||
|
endif
|
||||||
|
if WINCONSOLE
|
||||||
|
ngicon.o: ngicon.rc
|
||||||
|
windres $(srcdir)/ngicon.rc -O coff -o ngicon.o
|
||||||
|
endif
|
||||||
|
|
||||||
ngspice_SOURCES = \
|
ngspice_SOURCES = \
|
||||||
main.c \
|
main.c \
|
||||||
conf.c \
|
conf.c \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue