Ejemplo Buildh.bat compilar varios prgs.

Ejemplo Buildh.bat compilar varios prgs.

Postby jvtecheto » Fri May 10, 2019 8:07 pm

HOla :

A pesar de que utilizo FivEdit de Cristobal Navarro el cual realiza la tarea de compilacion y enlace de manera automatica, me gustaria saber como se compilan varios .prgs con un archivo tipo buildh.bat.

Si alguien tiene uno y es tan amable de facilitarmelo, me gustaria saber como se hace tambien de manera manual. Tambien he leido que algunos utilizan ficheros, .mak, algun tipo de explicacion al respecto.?

Saludos.

Jose.
Fwh 24.07 64 bits + Harbour 64 bits 3.2dev(r2407221137) + MSVC64
User avatar
jvtecheto
 
Posts: 593
Joined: Mon Mar 04, 2013 4:32 pm
Location: Spain

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby cnavarro » Fri May 10, 2019 8:08 pm

Mira la carpeta makes de la instalación
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby jvtecheto » Fri May 10, 2019 8:16 pm

Hola Cristobal:

Gracias por responder

Segun esto el archivo de Borland que es el que uso seria en la linea

echo obj\alert.obj obj\one.obj obj\two.obj, + >> b32.bc

alert, one, two seria prg. ¿no?

y se llamaria al mismo como make test (o con extension)

Saludos.

Jose.
Fwh 24.07 64 bits + Harbour 64 bits 3.2dev(r2407221137) + MSVC64
User avatar
jvtecheto
 
Posts: 593
Joined: Mon Mar 04, 2013 4:32 pm
Location: Spain

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby karinha » Fri May 10, 2019 8:38 pm

COMP.BAT

Code: Select all  Expand view

REM @Echo Off
@Echo On
Cls
Echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
Echo ³ FiveWin For xHarbour 17.01 Dec. 2017         xHarbour Development Power    ³Ü
Echo ³ (c) FiveTech, 1993-2016      For Microsoft Windows 95/98/NT/2000/ME And XP ³Û
Echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
Echo ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß

Echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
Echo ³ FiveWin For xHarbour 17.01 Jan. 2017           Contato Sistemas Ltda.      ³Ü
Echo ³ Aguarde um Momento, Compilando Aplica‡Æo 32 Bits, Processamento Demorado   ³Û
Echo ³ CopyRight(c) JoÆo@2017 - Todos os Direitos Reservados.  WINORCAM 32 Bits.  ³Û
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 Localizacao dos Paths
Set hdir=C:\XHBBCC72
Set bcdir=C:\bcc72
Set fwhdir=C:\FwH1701

rem @If Exist *.Bak      Del *.Bak
@If Exist *.Obj      Del *.Obj
@If Exist *.Log      Del *.Log
@If Exist *.Map      Del *.Map
@If Exist *.PPO      Del *.Ppo
@If Exist *.TDS      Del *.TDS
@If Exist *.Bc       Del *.bc
@If Exist *.C        Del *.C
@If Exist *.HC       Del *.HC

If Exist WINORCAM.Exe Del WINORCAM.Exe

REM -> Area dos Arquivos com ExtensÆo *.PRG Gerados em FiveWin
%hdir%\bin\harbour WINORCAM /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p      > Erro.log 2>  ERROS.LOG
REM -> FUSE() ADDREC e Outros
%hdir%\bin\harbour FUNCOES  /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
REM CHAMADO.PRG FOI INCORPORADO A PROPOSTA.PRG(Fernanda) em: 26/03/2019 Joao
%hdir%\bin\harbour CHAMADO  /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
REM  - DADOS PARA CONTRATO E PROPOSTA - ABRIR CHAMADA PARA ORCAMENTO
%hdir%\bin\harbour PROPOSTA /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CRIARDBF /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour REINDEXA /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADGRUPO /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADORSER /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADFERRA /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADMANUT /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADGPPAG /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADGPREF /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADGPLIM /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADGPMAN /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADGPREC /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADGPVAS /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADGPMAO /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADGPPOD /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADGPFOR /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADFOROB /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADPODOB /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADGARAN /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
REM GRUPO DA GARANTIA DA RECOMPOSICAO DAS PLANTAS.
%hdir%\bin\harbour CADGARPL /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour PMSPOBS  /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour RESPONSA /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADPAISA /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour ORCAMENT /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour MICHIGAN /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour LIMPJARD /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour MANUJARD /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour MANUVASO /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour REMOCAO  /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour APROVAR  /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADNECES /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour PRODUNFE /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour ABERTURA /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CADFABRI /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour FABRICAN /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour COMPRAS  /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour RMAILAMB /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour AGENDA   /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour OPERADOR /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour ERRSYSW  /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG

REM NAO VOU USAR-TIRAR DEPOIS.
%hdir%\bin\harbour REDE   /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p       >> Erro.log 2>> ERROS.LOG

REM CLASSES DE TERCEIROS
%hdir%\bin\harbour ANIMABMP /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour DSAY     /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour SSAY     /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CALEND   /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour TCALENDA /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour CALCULAD /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG
%hdir%\bin\harbour TLISTGET /m/n /i%fwhdir%\include;%hdir%\include;%bcdir%\include /w0 /p     >> Erro.log 2>> ERROS.LOG

%bcdir%\bin\bcc32 -M -c -v -O2 -eWINORCAM.exe -I%hdir%\include -I%bcdir%\include WINORCAM.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eFUNCOES.exe  -I%hdir%\include -I%bcdir%\include FUNCOES.C    >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -ePROPOSTA.exe -I%hdir%\include -I%bcdir%\include PROPOSTA.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCRIARDBF.exe -I%hdir%\include -I%bcdir%\include CRIARDBF.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eREINDEXA.exe -I%hdir%\include -I%bcdir%\include REINDEXA.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADGRUPO.exe -I%hdir%\include -I%bcdir%\include CADGRUPO.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADGPPAG.exe -I%hdir%\include -I%bcdir%\include CADGPPAG.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADGPREF.exe -I%hdir%\include -I%bcdir%\include CADGPREF.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADGPLIM.exe -I%hdir%\include -I%bcdir%\include CADGPLIM.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADGPMAN.exe -I%hdir%\include -I%bcdir%\include CADGPMAN.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADGPREC.exe -I%hdir%\include -I%bcdir%\include CADGPREC.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADGPVAS.exe -I%hdir%\include -I%bcdir%\include CADGPVAS.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADGPMAO.exe -I%hdir%\include -I%bcdir%\include CADGPMAO.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADGPPOD.exe -I%hdir%\include -I%bcdir%\include CADGPPOD.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADGPFOR.exe -I%hdir%\include -I%bcdir%\include CADGPFOR.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADFOROB.exe -I%hdir%\include -I%bcdir%\include CADFOROB.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADPODOB.exe -I%hdir%\include -I%bcdir%\include CADPODOB.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADGARAN.exe -I%hdir%\include -I%bcdir%\include CADGARAN.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADGARPL.exe -I%hdir%\include -I%bcdir%\include CADGARPL.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -ePMSPOBS.exe  -I%hdir%\include -I%bcdir%\include PMSPOBS.C    >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eRESPONSA.exe -I%hdir%\include -I%bcdir%\include RESPONSA.C   >> Erro.log 2>> ERROS.LOG

%bcdir%\bin\bcc32 -M -c -v -O2 -eCADPAISA.exe -I%hdir%\include -I%bcdir%\include CADPAISA.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADORSER.exe -I%hdir%\include -I%bcdir%\include CADORSER.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADFERRA.exe -I%hdir%\include -I%bcdir%\include CADFERRA.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADMANUT.exe -I%hdir%\include -I%bcdir%\include CADMANUT.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCHAMADO.exe  -I%hdir%\include -I%bcdir%\include CHAMADO.C    >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eORCAMENT.exe -I%hdir%\include -I%bcdir%\include ORCAMENT.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eMICHIGAN.exe -I%hdir%\include -I%bcdir%\include MICHIGAN.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eLIMPJARD.exe -I%hdir%\include -I%bcdir%\include LIMPJARD.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eMANUJARD.exe -I%hdir%\include -I%bcdir%\include MANUJARD.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eMANUVASO.exe -I%hdir%\include -I%bcdir%\include MANUVASO.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eREMOCAO.exe  -I%hdir%\include -I%bcdir%\include REMOCAO.C    >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eAPROVAR.exe  -I%hdir%\include -I%bcdir%\include APROVAR.C    >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADNECES.EXE -I%hdir%\include -I%bcdir%\include CADNECES.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -ePRODUNFE.EXE -I%hdir%\include -I%bcdir%\include PRODUNFE.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eABERTURA.EXE -I%hdir%\include -I%bcdir%\include ABERTURA.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCADFABRI.EXE -I%hdir%\include -I%bcdir%\include CADFABRI.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eFABRICAN.EXE -I%hdir%\include -I%bcdir%\include FABRICAN.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCOMPRAS.EXE  -I%hdir%\include -I%bcdir%\include COMPRAS.C    >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eRMAILAMB.EXE -I%hdir%\include -I%bcdir%\include RMAILAMB.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eAGENDA.EXE   -I%hdir%\include -I%bcdir%\include AGENDA.C     >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eOPERADOR.EXE -I%hdir%\include -I%bcdir%\include OPERADOR.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eERRSYSW.EXE  -I%hdir%\include -I%bcdir%\include ERRSYSW.C    >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eREDE.EXE -I%hdir%\include -I%bcdir%\include REDE.C           >> Erro.log 2>> ERROS.LOG

REM CLASSES DE TERCEIROS
%bcdir%\bin\bcc32 -M -c -v -O2 -eANIMABMP.exe -I%hdir%\include -I%bcdir%\include ANIMABMP.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eDSAY.exe     -I%hdir%\include -I%bcdir%\include DSAY.C       >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eSSAY.exe     -I%hdir%\include -I%bcdir%\include SSAY.C       >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCALEND.exe   -I%hdir%\include -I%bcdir%\include CALEND.C     >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eTCALENDA.exe -I%hdir%\include -I%bcdir%\include TCALENDA.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eCALCULAD.exe -I%hdir%\include -I%bcdir%\include CALCULAD.C   >> Erro.log 2>> ERROS.LOG
%bcdir%\bin\bcc32 -M -c -v -O2 -eTLISTGET.exe -I%hdir%\include -I%bcdir%\include TLISTGET.C   >> Erro.log 2>> ERROS.LOG

If ErrorLevel 1 Type Erro.log | More
If ErrorLevel 1 Goto Exit

REM %bcdir%\bin\bcc32 -M -c -O2 -eWINORCAM.exe -I%hdir%\include WINORCAM.c

%bcdir%\bin\BRC32.EXE -R XPLOOK.RC

:ENDCOMPILE

REM ERA ASSIM: MUDEI EM: 09/10/2017 - Joao
REM %bcdir%\bin\ilink32 -Gn -aa -Tpe -s @Cx.Lnk

REM http://fivewin.com.br/index.php?/topic/27264-prompt-dos/
REM Mude para:

%bcdir%\bin\ilink32 -aa -Gn -Tpe -s -v @CX.LNK

Echo .
IF ERRORLEVEL 1 GOTO LINKERROR
Cls
Echo .
Echo * Aplicacao Foi Desenvolvida Com Sucesso
Echo .
Echo * Aguarde um Momento, Compactando Aplicacao, Usando o PEC2.EXE
Echo .
REM C:\PECOMPACT\PEC2 /NB /EMP:Y /TM:Y /CR:Y /MC WINORCAM.EXE
Echo .
Echo * Aplicativo Foi Compactado Com Sucesso - Aguarde Execucao.
Echo .
Echo * Aguarde, Executando o Aplicativo, Gerado Com Sucesso Absoluto *
WINORCAM
GOTO EXIT

:LINKERROR
PAUSE * Applicacao Nao Foi Desenvolvida Com Sucesso. Veja ERRO.LOG *
GOTO EXIT
Echo .
cls

:EXIT
 
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7804
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby karinha » Fri May 10, 2019 8:39 pm

COMP.LNK

Code: Select all  Expand view

C:\bcc72\lib\c0w32.Obj               +
WINORCAM.OBJ                         +
FUNCOES.OBJ                          +
PROPOSTA.OBJ                         +
CRIARDBF.OBJ                         +
REINDEXA.OBJ                         +
CADGRUPO.OBJ                         +
CADGPPAG.OBJ                         +
CADGPREF.OBJ                         +
CADGPLIM.OBJ                         +
CADGPMAN.OBJ                         +
CADGPREC.OBJ                         +
CADGPVAS.OBJ                         +
CADGPMAO.OBJ                         +
CADGPPOD.OBJ                         +
CADGPFOR.OBJ                         +
CADFOROB.OBJ                         +
CADPODOB.OBJ                         +
CADGARAN.OBJ                         +
CADGARPL.OBJ                         +
PMSPOBS.OBJ                          +
RESPONSA.OBJ                         +
CADPAISA.OBJ                         +
CADORSER.OBJ                         +
CADFERRA.OBJ                         +
CADMANUT.OBJ                         +
CHAMADO.OBJ                          +
ORCAMENT.OBJ                         +
MICHIGAN.OBJ                         +
LIMPJARD.OBJ                         +
MANUJARD.OBJ                         +
MANUVASO.OBJ                         +
REMOCAO.OBJ                          +
APROVAR.OBJ                          +
CADNECES.OBJ                         +
PRODUNFE.OBJ                         +
ABERTURA.OBJ                         +
CADFABRI.OBJ                         +
FABRICAN.OBJ                         +
COMPRAS.OBJ                          +
RMAILAMB.OBJ                         +
AGENDA.OBJ                           +
OPERADOR.OBJ                         +
ERRSYSW.OBJ                          +
REDE.OBJ                             +
ANIMABMP.OBJ                         +
CALEND.OBJ                           +
TCALENDA.OBJ                         +
CALCULAD.OBJ                         +
TLISTGET.OBJ                         +
DSAY.OBJ                             +
SSAY.OBJ,                            +
WINORCAM.EXE,                        +
WINORCAM.MAP,                        +
C:\FWH1701\lib\FiveHX.lib            +
C:\FWH1701\lib\FiveHC.lib            +
C:\XHBBCC72\lib\hbzip.Lib            +
C:\XHBBCC72\lib\zlib.Lib             +
C:\XHBBCC72\lib\rtl.Lib              +
C:\XHBBCC72\lib\vm.Lib               +
C:\XHBBCC72\lib\gtgui.Lib            +
C:\XHBBCC72\lib\lang.Lib             +
C:\XHBBCC72\lib\macro.Lib            +
C:\XHBBCC72\lib\rdd.Lib              +
C:\XHBBCC72\lib\dbfntx.Lib           +
C:\XHBBCC72\lib\dbfcdx.Lib           +
C:\XHBBCC72\lib\common.Lib           +
C:\XHBBCC72\lib\tip.Lib              +
C:\XHBBCC72\lib\pp.Lib               +
C:\XHBBCC72\lib\dbffpt.Lib           +
C:\XHBBCC72\lib\codepage.Lib         +
C:\XHBBCC72\lib\HbSix.Lib            +
C:\XHBBCC72\lib\PcRepos.Lib          +
C:\XHBBCC72\Lib\ct.Lib               +
C:\XHBBCC72\Lib\png.Lib              +
C:\BCC72\lib\cw32.Lib                +
c:\BCC72\lib\uuid.lib                +
c:\BCC72\lib\ws2_32.lib              +
C:\BCC72\lib\psdk\msimg32.Lib        +
C:\BCC72\lib\psdk\odbc32.Lib         +
C:\BCC72\lib\psdk\rasapi32.Lib       +
C:\BCC72\lib\psdk\nddeapi.Lib        +
C:\BCC72\lib\psdk\psapi.Lib          +
c:\BCC72\lib\psdk\gdiplus.lib        +
C:\BCC72\lib\psdk\iphlpapi.Lib       +
c:\BCC72\lib\psdk\shell32.lib        +
C:\BCC72\lib\import32.Lib,
AMBIENTY.RES                         +
EMAILAMB.RES                         +
IMAGENS.RES
 



Saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7804
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby leandro » Fri May 10, 2019 10:20 pm

Buenas tardes para todos

Hace unos días antonio me envió dos archivos para poder compilar varios prg con BBC73, pero hasta ahora sin éxito.

archivo 1
go.bat
Code: Select all  Expand view

set path=C:\bcc73\bin
make -fmyapp.mak
 


myapp.mak
Code: Select all  Expand view

HBDIR=c:\xhar1903
BCDIR=c:\bcc73
FWDIR=c:\fwh1903

.path.obj = .\obj
.path.prg = .\
.path.ch  = $(FWDIR)\include;$(HBDIR)\include
.path.c   = .\
.path.rc  = .\

PRG = \
.\one.prg \
.\two.prg \
.\three.prg

OBJ=$(PRG:.prg=.obj)
OBJS=$(OBJ:.\=.\obj\)

PROJECT : myapp.exe

myapp.exe : $(OBJS) myapp.res
   echo off
   echo $(BCDIR)\lib\c0w32.obj + > b32.bc
   echo $(OBJS), + >> b32.bc
   echo myapp.exe, + >> b32.bc
   echo myapp.map, + >> b32.bc
   echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
   echo $(HBDIR)\lib\hbrtl.lib + >> b32.bc
   echo $(HBDIR)\lib\hbvm.lib + >> b32.bc
   echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
   echo $(HBDIR)\lib\hblang.lib + >> b32.bc
   echo $(HBDIR)\lib\hbmacro.lib + >> b32.bc
   echo $(HBDIR)\lib\hbrdd.lib + >> b32.bc
   echo $(HBDIR)\lib\rddntx.lib + >> b32.bc
   echo $(HBDIR)\lib\rddcdx.lib + >> b32.bc
   echo $(HBDIR)\lib\rddfpt.lib + >> b32.bc
   echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
   echo $(HBDIR)\lib\hbdebug.lib + >> b32.bc
   echo $(HBDIR)\lib\hbcommon.lib + >> b32.bc
   echo $(HBDIR)\lib\hbpp.lib + >> b32.bc
   echo $(HBDIR)\lib\hbwin.lib + >> b32.bc
   echo $(HBDIR)\lib\hbcpage.lib + >> b32.bc
   echo $(HBDIR)\lib\hbct.lib + >> b32.bc
   echo $(HBDIR)\lib\hbcplr.lib + >> b32.bc
   echo $(HBDIR)\lib\xhb.lib + >> b32.bc
   echo $(HBDIR)\lib\png.lib + >> b32.bc
   echo $(HBDIR)\lib\hbzlib.lib + >> b32.bc
   echo $(HBDIR)\lib\hbziparc.lib + >> b32.bc
   echo $(HBDIR)\lib\hbmzip.lib + >> b32.bc
   echo $(HBDIR)\lib\minizip.lib + >> b32.bc
   echo $(HBDIR)\lib\hbpcre.lib + >> b32.bc

   echo $(BCDIR)\lib\cw32.lib + >> b32.bc
   echo $(BCDIR)\lib\import32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\msimg32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\shell32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\gdiplus.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc

   echo myapp.res >> b32.bc
   $(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
   del b32.bc

.prg.obj:
  $(HBDIR)\bin\harbour $< /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include >> comp.log
  $(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c

.c.obj:
  echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
  echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
  $(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
  del tmp

myapp.res : myapp.rc
  c:\bcc73 $(BCDIR)\bin\brc32.exe -r -Ic:\bcc7\include\windows\sdk myapp.rc
 


pero al ejecutar el archivo go.bat, me arroja el siguiente error:
Code: Select all  Expand view

MAKE Version 5.41  Copyright (c) 1987, 2014 Embarcadero Technologies, Inc.
Fatal: Unable to open makefile
 


Las rutas están configuradas correctamente, alguna pista?

De antemano gracias.
Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Embarcadero C++ 7.60 for Win32 ] [ FiveWin 23.07 ] [ xHarbour 1.3.0 Intl. (SimpLex) (Build 20230914) ]
User avatar
leandro
 
Posts: 1669
Joined: Wed Oct 26, 2005 2:49 pm
Location: Colombia

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby Antonio Linares » Sat May 11, 2019 4:29 am

Leandro,

Comprueba que el fichero make.exe esté en c:\bcc73\bin

y que el fichero myapp.mak esté en la carpeta en donde está go.bat
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby jvtecheto » Sat May 11, 2019 9:18 am

Hola Antonio:

Mismo error y creo que en la llamada a make

make -myapp.mak

lo correcto es
make myapp.mak

y devuelve el error que dice Leandro.

Unable to open Makefile.

Todo correctamente configurado.
Fwh 24.07 64 bits + Harbour 64 bits 3.2dev(r2407221137) + MSVC64
User avatar
jvtecheto
 
Posts: 593
Joined: Mon Mar 04, 2013 4:32 pm
Location: Spain

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby jvtecheto » Sat May 11, 2019 9:21 am

Hola Karinha

Y entonces como serian las llamadas para generar el exe con los ficheros comp.bat y comp.lnk

Gracias por tu interes y ayuda

Saludos.

Jose.
Fwh 24.07 64 bits + Harbour 64 bits 3.2dev(r2407221137) + MSVC64
User avatar
jvtecheto
 
Posts: 593
Joined: Mon Mar 04, 2013 4:32 pm
Location: Spain

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby Antonio Linares » Sat May 11, 2019 9:44 am

Javier,

Te falta una F

make -fmyapp.mak

MAKE Version 5.41 Copyright (c) 1987, 2014 Embarcadero Technologies, Inc.

-ffilename Uses filename as the MAKEFILE

make -help
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby jvtecheto » Sat May 11, 2019 12:28 pm

Antonio Linares wrote:Javier,

Te falta una F

make -fmyapp.mak

MAKE Version 5.41 Copyright (c) 1987, 2014 Embarcadero Technologies, Inc.

-ffilename Uses filename as the MAKEFILE

make -help


Muchisimas gracias Antonio, ahora si.

pero cambiando esto.
Code: Select all  Expand view

myapp.res : myapp.rc
  c:\bcc73 $(BCDIR)\bin\brc32.exe -r -Ic:\bcc7\include\windows\sdk myapp.rc
 


sobra el c:\bcc73, asi, correcto
Code: Select all  Expand view

myapp.res : myapp.rc
  $(BCDIR)\bin\brc32.exe -r -Ic:\bcc7\include\windows\sdk myapp.rc
 


Por cierto el tamaño del .exe es identico al generado por el FivEdit de Cristobal.

Saludos.

Jose.
Fwh 24.07 64 bits + Harbour 64 bits 3.2dev(r2407221137) + MSVC64
User avatar
jvtecheto
 
Posts: 593
Joined: Mon Mar 04, 2013 4:32 pm
Location: Spain

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby leandro » Sat May 11, 2019 4:43 pm

Muchas gracias Antonio y Jose

Ya casi... realice los cambios que sugirieron y parece que ya compila. Ahora al final proceso me dice que tengo algunos errores, me imagino que sean posiblemente de sintaxis o falta de algunas funciones. El problema es que no me esta mostrando cuales son los errores.

Code: Select all  Expand view

C:\xpmake>make -fcrear.mak
MAKE Version 5.41  Copyright (c) 1987, 2014 Embarcadero Technologies, Inc.
        echo off
        echo c:\bcc73\lib\c0w32.obj + > b32.bc
        echo xp.obj  Tword.obj  lyma.obj  aimpo.obj  asql.obj  abus.obj  rscombo.obj  zkteco.obj  vrd.obj  vrditem.obj  vrdbcode.obj, + >> b32.bc
        echo xp.exe, + >> b32.bc
        echo xp.map, + >> b32.bc
        echo c:\fwh1903\lib\FiveH.lib c:\fwh1903\lib\FiveHC.lib + >> b32.bc
        echo c:\xhar1903\lib\hbrtl.lib + >> b32.bc
        echo c:\xhar1903\lib\hbvm.lib + >> b32.bc
        echo c:\xhar1903\lib\gtgui.lib + >> b32.bc
        echo c:\xhar1903\lib\hblang.lib + >> b32.bc
        echo c:\xhar1903\lib\hbmacro.lib + >> b32.bc
        echo c:\xhar1903\lib\hbrdd.lib + >> b32.bc
        echo c:\xhar1903\lib\rddntx.lib + >> b32.bc
        echo c:\xhar1903\lib\rddcdx.lib + >> b32.bc
        echo c:\xhar1903\lib\rddfpt.lib + >> b32.bc
        echo c:\xhar1903\lib\hbsix.lib + >> b32.bc
        echo c:\xhar1903\lib\hbdebug.lib + >> b32.bc
        echo c:\xhar1903\lib\hbcommon.lib + >> b32.bc
        echo c:\xhar1903\lib\hbpp.lib + >> b32.bc
        echo c:\xhar1903\lib\hbwin.lib + >> b32.bc
        echo c:\xhar1903\lib\hbcpage.lib + >> b32.bc
        echo c:\xhar1903\lib\hbct.lib + >> b32.bc
        echo c:\xhar1903\lib\hbcplr.lib + >> b32.bc
        echo c:\xhar1903\lib\xhb.lib + >> b32.bc
        echo c:\xhar1903\lib\png.lib + >> b32.bc
        echo c:\xhar1903\lib\hbzlib.lib + >> b32.bc
        echo c:\xhar1903\lib\hbziparc.lib + >> b32.bc
        echo c:\xhar1903\lib\hbmzip.lib + >> b32.bc
        echo c:\xhar1903\lib\minizip.lib + >> b32.bc
        echo c:\xhar1903\lib\hbpcre.lib + >> b32.bc
        echo c:\bcc73\lib\cw32.lib + >> b32.bc
        echo c:\bcc73\lib\import32.lib + >> b32.bc
        echo c:\bcc73\lib\psdk\odbc32.lib + >> b32.bc
        echo c:\bcc73\lib\psdk\nddeapi.lib + >> b32.bc
        echo c:\bcc73\lib\psdk\iphlpapi.lib + >> b32.bc
        echo c:\bcc73\lib\psdk\msimg32.lib + >> b32.bc
        echo c:\bcc73\lib\psdk\shell32.lib + >> b32.bc
        echo c:\bcc73\lib\psdk\gdiplus.lib + >> b32.bc
        echo c:\bcc73\lib\psdk\rasapi32.lib, >> b32.bc
        echo xp.res >> b32.bc
        c:\bcc73\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
Turbo Incremental Link 6.80 Copyright (c) 1997-2017 Embarcadero Technologies, Inc.
Fatal: Unable to open file 'XP.OBJ'

** error 2 ** deleting xp.exe
 


Dice que tengo dos errores, pero no me los muestra, no se si tenga que ver con algún flag?
Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Embarcadero C++ 7.60 for Win32 ] [ FiveWin 23.07 ] [ xHarbour 1.3.0 Intl. (SimpLex) (Build 20230914) ]
User avatar
leandro
 
Posts: 1669
Joined: Wed Oct 26, 2005 2:49 pm
Location: Colombia

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby Antonio Linares » Sun May 12, 2019 4:09 pm

Leandro,

Copia aqui tu fichero make para que lo revisemos
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby leandro » Tue May 14, 2019 1:52 pm

Gracias por responder, aquí el código

crear.bat
Code: Select all  Expand view

set path=C:\BCC73\BIN\
make -fcrear.mak
 


crear.mak

Code: Select all  Expand view

HBDIR=c:\xhar1903
BCDIR=c:\bcc73
FWDIR=c:\fwh1903

.path.obj = .\obj
.path.prg = .\
.path.ch  = $(FWDIR)\include;$(HBDIR)\include
.path.c   = .\
.path.rc  = .\

PRG = \
xp.prg    \
Tword.prg \
lyma.prg  \
aimpo.prg \
asql.prg \
abus.prg \
rscombo.prg \
vrd.prg \
vrditem.prg \
vrdbcode.prg \


OBJ=$(PRG:.prg=.obj)
OBJS=$(OBJ:.\=.\obj\)

PROJECT : xp.exe

xp.exe : $(OBJS) xp.res
   echo off
   echo $(BCDIR)\lib\c0w32.obj + > b32.bc
   echo $(OBJS), + >> b32.bc
   echo xp.exe, + >> b32.bc
   echo xp.map, + >> b32.bc
   
   echo $(FWDIR)\lib\FiveHX.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
   echo $(HBDIR)\lib\rtl.lib + >> b32.bc
   echo $(HBDIR)\lib\vm.lib + >> b32.bc
   echo $(HBDIR)\lib\lang.lib + >> b32.bc
   echo $(HBDIR)\lib\macro.lib + >> b32.bc
   echo $(HBDIR)\lib\rdd.lib + >> b32.bc
   echo $(HBDIR)\lib\dbfntx.lib + >> b32.bc
   echo $(HBDIR)\lib\dbfcdx.lib + >> b32.bc
   echo $(HBDIR)\lib\dbffpt.lib + >> b32.bc
   echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
   echo $(HBDIR)\lib\debug.lib + >> b32.bc
   echo $(HBDIR)\lib\common.lib + >> b32.bc
   echo $(HBDIR)\lib\codepage.lib + >> b32.bc
   echo $(HBDIR)\lib\pp.lib + >> b32.bc
   echo $(HBDIR)\lib\pcrepos.lib + >> b32.bc
   echo $(HBDIR)\lib\ct.lib + >> b32.bc
   echo $(HBDIR)\lib\zlib.lib + >> b32.bc
   echo $(HBDIR)\lib\hbzip.lib + >> b32.bc
   echo $(HBDIR)\lib\hbzip.lib + >> b32.bc
   echo $(HBDIR)\lib\libmisc.lib + >> b32.bc
   echo $(HBDIR)\lib\tip.lib + >> b32.bc
   echo $(HBDIR)\lib\hbzebra.lib + >> b32.bc
   echo $(HBDIR)\lib\gtcgi.lib + >> b32.bc
   echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
   echo $(HBDIR)\lib\gtpca.lib + >> b32.bc
   echo $(HBDIR)\lib\gtstd.lib + >> b32.bc
   echo $(HBDIR)\lib\gtwin.lib + >> b32.bc
   echo $(HBDIR)\lib\gtwvg.lib + >> b32.bc
   echo $(HBDIR)\lib\gtwvt.lib + >> b32.bc
   echo $(HBDIR)\lib\gtwvw.lib + >> b32.bc

   

   echo $(BCDIR)\lib\cw32.lib + >> b32.bc
   echo $(BCDIR)\lib\import32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\msimg32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\shell32.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\gdiplus.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc

   echo xp.res >> b32.bc
   $(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
   del b32.bc

.prg.obj:
  $(HBDIR)\bin\harbour $< /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include >> comp.log
  $(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c

.c.obj:
  echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
  echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
  $(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
  del tmp

xp.res : xp.rc
  $(BCDIR)\bin\brc32.exe -r -Ic:\bcc7\include\windows\sdk xp.rc

 
Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Embarcadero C++ 7.60 for Win32 ] [ FiveWin 23.07 ] [ xHarbour 1.3.0 Intl. (SimpLex) (Build 20230914) ]
User avatar
leandro
 
Posts: 1669
Joined: Wed Oct 26, 2005 2:49 pm
Location: Colombia

Re: Ejemplo Buildh.bat compilar varios prgs.

Postby karinha » Tue May 14, 2019 1:58 pm

Code: Select all  Expand view

if not exist obj md obj
c:\bcc73\bin\MAKE -fcrear.mak
 
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7804
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Next

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 43 guests