mirror of
https://git.code.sf.net/p/fldigi/flrig
synced 2026-08-13 17:28:24 -04:00
30 lines
541 B
Bash
Executable file
30 lines
541 B
Bash
Executable file
#!/bin/sh
|
|
|
|
clear
|
|
|
|
./configure \
|
|
$PKGCFG \
|
|
--host=i686-w64-mingw32.static \
|
|
--with-ptw32=$PREFIX/i686-w64-mingw32.static \
|
|
--with-libiconv-prefix=$PREFIX/iconv \
|
|
--enable-static \
|
|
PTW32_LIBS="-lpthread -lpcreposix -lpcre -lwinmm" \
|
|
FLTK_CONFIG=$PREFIX/i686-w64-mingw32.static/bin/fltk-config \
|
|
CXXFLAGS="-std=c++11 -std=gnu++11"
|
|
|
|
make clean
|
|
make -j 12
|
|
|
|
$PREFIX/bin/i686-w64-mingw32.static-strip src/flrig.exe
|
|
make nsisinst
|
|
mv src/*setup*exe .
|
|
|
|
make clean
|
|
|
|
# build the distribution tarball
|
|
./configure
|
|
|
|
make dist
|
|
make clean
|
|
|
|
|