REM CX.BAT
@Echo Off
Cls
Echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
Echo ³ FiveWin For xHarbour 13.05 Maio de 2013 xHarbour Development Power ³Ü
Echo ³ (c) FiveTech, 1993-2013 For Microsoft Windows 95/98/NT/2000/ME And XP ³Û
Echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
Echo ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
Echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
Echo ³ FiveWin For xHarbour 13.05 Maio de 2013 Contato Sistemas Ltda. ³Ü
Echo ³ Aguarde um Momento, Compilando Aplica‡Æo 32 Bits, Processamento Demorado ³Û
Echo ³ CopyRight(c) JoÆo@2007 - Todos os Direitos Reservados. SEFAZ3 32 Bits. ³Û
Echo ³ Participa‡Æo Especial Vagner Wirts -
vwirts@ig.com.br - 11/04/2013 Inicio. ³Û
Echo ³ Agradecimentos Especiais - Gilmer Tavares - Virtual Objects Informatica ³Û
Echo ³
vendas@fivewin.com.br -
suporte@fivewin.com.br -
gilmer@fivewin.com.br ³Û
Echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
Echo ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
Echo .
Echo Aguarde... Compilando os Modulos do Programa... Processamento Demorado
Echo Gerando o Arquivo ERRO.LOG, em Caso de Duvidas, Consulte-o. Borland C.
Rem Localiza‡Æo dos Paths
Set hdir=C:\XHARBOUR1303
Set bcdir=C:\bcc582
Set fwhdir=C:\FwH1306
@If Exist *.Bak Del *.Bak
@If Exist FCI.Obj Del FCI.Obj
@If Exist *.Log Del *.Log
@If Exist FCI.Map Del FCI.Map
@If Exist FCI.PPO Del FCI.Ppo
@If Exist FCI.TDS Del FCI.TDS
@If Exist *.Bc Del *.bc
@If Exist FCI.C Del FCI.C
@If Exist FCI.HC Del *.HC
@If Exist FCI.Exe Del FCI.Exe
If Exist FCI.Exe Del FCI.Exe
REM -> Area dos Arquivos com Extensao *.PRG Gerados em FiveWin 13.03 For xHarbour
%hdir%\bin\harbour FCI /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p > Erro.log
%hdir%\bin\harbour AUXINDEX /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p >> Erro.log
%hdir%\bin\harbour ERRSYSW /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p >> Erro.log
%bcdir%\bin\bcc32 -M -c -v -O2 -eFCI.exe -I%hdir%\include -I%bcdir%\include FCI.C >> Erro.log
%bcdir%\bin\bcc32 -M -c -v -O2 -eAUXINDEX.exe -I%hdir%\include -I%bcdir%\include AUXINDEX.C >> Erro.log
%bcdir%\bin\bcc32 -M -c -v -O2 -eERRSYSW.exe -I%hdir%\include -I%bcdir%\include ERRSYSW.C >> Erro.log
If ErrorLevel 1 Type Erro.log | More
If ErrorLevel 1 Goto Exit
rem %bcdir%\bin\bcc32 -M -c -O2 -eFCI.exe -I%hdir%\include FCI.c
:ENDCOMPILE
%bcdir%\bin\ilink32 -Gn -aa -Tpe -s @CXF.LNK
Echo .
IF ERRORLEVEL 1 GOTO LINKERROR
rem Cls
Echo .
Echo * Aplicacao Foi Desenvolvida Com Sucesso
Echo .
Echo * Aguarde um Momento, Compactando Aplicacao, Usando o UPX.EXE
Echo .
\UPX\UPX.EXE -9 FCI.EXE
Echo .
Echo * Aplicativo Foi Compactado Com Sucesso - Aguarde Execucao.
Echo .
Echo * Aguarde, Executando o Aplicativo, Gerado Com Sucesso Absoluto *
FCI
GOTO EXIT
:LINKERROR
PAUSE * Applicacao Nao Foi Desenvolvida Com Sucesso. Veja ERRO.LOG *
GOTO EXIT
Echo .
cls
:EXIT