|
|
|
@ -98,10 +98,10 @@ buildwindows: clean
|
|
|
|
|
./copydlls.sh
|
|
|
|
|
./copydlls.sh
|
|
|
|
|
./copyshare.sh
|
|
|
|
|
cp /usr/lib/gcc/x86_64-w64-mingw32/13-win32/*.dll TestModbus-Server-$(VERSION)/
|
|
|
|
|
for i in `ldd TestModbus-Server.exe |grep -vi "/c/windows" | cut -d" " -f3`; do cp $$i TestModbus-Server-$(VERSION)/; done
|
|
|
|
|
mv *.dll TestModbus-Server-$(VERSION)/
|
|
|
|
|
mv share TestModbus-Server-$(VERSION)/
|
|
|
|
|
#tar xvzf $(CROSSENV)/files/winbuild-dll.tgz -C TestModbus-Server-$(VERSION)/
|
|
|
|
|
#tar xvzf $(CROSSENV)/files/winbuild-share.tgz -C TestModbus-Server-$(VERSION)/
|
|
|
|
|
zip -r TestModbus-Server-$(VERSION)-win.zip TestModbus-Server-$(VERSION)/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|