Ayuda con compilacion/make varios prgs

Ayuda con compilacion/make varios prgs

Postby Databaselab2002 » Sun Nov 26, 2006 3:08 am

Estimados Colegas

Tengo el siguiente archivo rmk y me esta dando
error de sintaxis alguien me podria indicar como
solucionarlo

Gracias
Fabian
databaselab2002@yahoo.com.ar


#Borland make sample, (c) FiveTech Software 2005

HBDIR=c:\Xharbour1
BCDIR=c:\bcc55
FWDIR=c:\fwh

#change these paths as needed
.path.PRG = .\
.path.OBJ = .\obj
.path.CH = $(FWDIR)\include;$(HBDIR)\include
.path.C = .\
.path.rc = .\

#important: Use Uppercase for filenames extensions, in the next two rules!

PRG = \
Gvta.PRG \
Clientes.PRG \
CLIVen.PRG \
condicuo.PRG \
rubros.PRG \
tipocli.PRG \
zonas.PRG \
EXPRESOS.PRG \
fpagos.PRG \
alm.PRG \
libre.PRG \
PROVEEDO.PRG \
codiva.PRG \
monedas.PRG \
CLIPROVI.PRG \
TIPART.PRG \
GARTIC.PRG \
TUNI.PRG \
marcas.PRG \
COLORES.PRG \
tipcb.PRG \
BANCO.PRG \
tipmcb.PRG \
zoomprov.PRG \
genrep.PRG \
ZOOMEXP.PRG \
ZOOMCVE.PRG \
REPRUB.PRG \
REPTCLI.PRG \
COMPROB.PRG \
TALONAR.PRG \
prog_usu.PRG \
usucpb.PRG \
archabm.PRG \
indices.PRG \
parametr.PRG \
ARTICU.PRG \
zoomreg.PRG \
GRID.PRG \
REPCLI.PRG \
REPPROVE.PRG \
ZoomVen.PRG \
ZoomTCL.PRG \
REPPROV.PRG \
REPCOV.PRG \
REPZON.PRG \
REPEXP.PRG \
REPALM.PRG \
ZOOMMON.PRG \
REPFPAG.PRG \
REPCIVA.PRG \
REPMON.PRG \
REPROVI.PRG \
zoomcli.PRG \
zoomRUB.PRG \
zoomtun.PRG \
zoomPRO.PRG \
zoomcol.PRG \
REPART .PRG \
REPTART.PRG \
REPMAR.PRG \
REPGAR.PRG \
REPTUNI.PRG \
REPCOL.PRG \
REPBAN.PRG \
REPTTCP.PRG \
REPTMCB.PRG \
PAISES.PRG \
REPPAS.PRG \
REPVEN.PRG \
CLIART.PRG \
pCLIART.PRG \
zoomart.PRG \
REPLIST.PRG \
PERSONAL.PRG \
REPERS.PRG \
CUENTA.PRG \
REPCUE.PRG \
RElctabc.PRG \
zoomban.PRG \
repRELC.PRG \
EPRODUC.PRG \
cotiza.PRG \
REPEPRO.PRG \
REPCOTI.PRG

C = \



PROJECT : GVTA.exe

GVTA.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) GVTA.res
echo off
Echo $(BCDIR)\bin\c0w32.obj + > b32.bc
echo obj\Gvta.OBJ obj\Clientes.OBJ obj\CLIVen.OBJ obj\condicuo.OBJ, + > b32.bc
echo obj\rubros.OBJ obj\tipocli.OBJ obj\zonas.OBJ obj\EXPRESOS.OBJ, + > b32.bc
echo obj\fpagos.OBJ obj\alm.OBJ obj\libre.OBJ obj\PROVEEDO.OBJ, + > b32.bc
echo obj\codiva.OBJ obj\monedas.OBJ obj\CLIPROVI.OBJ obj\TIPART.OBJ , + > b32.bc
echo obj\GARTIC.OBJ obj\TUNI.OBJ obj\marcas.OBJ obj\COLORES.OBJ , + > b32.bc
echo obj\tipcb.OBJ obj\BANCO.OBJ obj\tipmcb.OBJ obj\zoomprov.OBJ, + > b32.bc
echo obj\genrep.OBJ obj\ZOOMEXP.OBJ obj\ZOOMCVE.OBJ obj\REPRUB.OBJ , + > b32.bc
echo obj\REPTCLI.OBJ obj\COMPROB.OBJ obj\TALONAR.OBJ obj\prog_usu.OBJ, + > b32.bc
echo obj\usucpb.OBJ obj\archabm.OBJ obj\indices.OBJ obj\parametr.OBJ, + > b32.bc
echo obj\ARTICU.OBJ obj\zoomreg.OBJ obj\GRID.OBJ obj\REPCLI.OBJ , + > b32.bc
echo obj\REPPROVE.OBJ obj\ZoomVen.OBJ obj\ZoomTCL.OBJ obj\REPPROV.OBJ , + > b32.bc
echo obj\REPCOV.OBJ obj\REPZON.OBJ obj\REPEXP.OBJ obj\REPALM.OBJ , + > b32.bc
echo obj\ZOOMMON.OBJ obj\REPFPAG.OBJ obj\REPCIVA.OBJ obj\REPMON.OBJ , + > b32.bc
echo obj\REPROVI.OBJ obj\zoomcli.OBJ obj\zoomRUB.OBJ obj\zoomtun.OBJ, + > b32.bc
echo obj\zoomPRO.OBJ obj\zoomcol.OBJ obj\REPART .OBJ obj\REPTART.OBJ , + > b32.bc
echo obj\REPMAR.OBJ obj\REPGAR.OBJ obj\REPTUNI.OBJ obj\REPCOL.OBJ , + > b32.bc
echo obj\REPBAN.OBJ obj\REPTTCP.OBJ obj\REPTMCB.PRG obj\PAISES.OBJ , + > b32.bc
echo obj\REPPAS.OBJ obj\REPVEN.OBJ obj\CLIART.OBJ obj\pCLIART.OBJ , + > b32.bc
echo obj\zoomart.OBJ obj\REPLIST.OBJ obj\REPTMCB.PRG obj\PAISES.OBJ , + > b32.bc
echo obj\CUENTA.OBJ obj\REPCUE.OBJ obj\REPPAS.OBJ obj\REPVEN.OBJ .\RElctabc.OBJ .\zoomban.OBJ , + > b32.bc
echo obj\repRELC.OBJ obj\EPRODUC.OBJ obj\cotiza.OBJ obj\REPEPRO.OBJ .\PERSONAL.OBJ .\REPERS.OBJ , + > b32.bc
echo obj\REPCOTI.OBJ

echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
echo $(HBDIR)\lib\b32\rtl.lib + >> b32.bc
echo $(HBDIR)\lib\b32\vm.lib + >> b32.bc
echo $(HBDIR)\lib\b32\gtwin.lib + >> b32.bc
echo $(HBDIR)\lib\b32\lang.lib + >> b32.bc
echo $(HBDIR)\lib\b32\macro.lib + >> b32.bc
echo $(HBDIR)\lib\b32\rdd.lib + >> b32.bc
echo $(HBDIR)\lib\b32\dbfntx.lib + >> b32.bc
echo $(HBDIR)\lib\b32\dbfcdx.lib + >> b32.bc
echo $(HBDIR)\lib\b32\dbfdbt.lib + >> b32.bc
echo $(HBDIR)\lib\b32\debug.lib + >> b32.bc
echo $(HBDIR)\lib\b32\common.lib + >> b32.bc
echo $(HBDIR)\lib\b32\pp.lib + >> b32.bc
echo $(HBDIR)\lib\b32\codepage.lib + >> b32.bc

rem Uncomment these two lines to use Advantage RDD
rem echo $(HBDIR)\lib\b32\rddads.lib + >> b32.bc
rem echo $(HBDIR)\lib\b32\Ace32.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\rasapi32.lib, >> b32.bc

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

.PRG.OBJ:
$(HBDIR)\bin\b32\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include
$(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

gvta.res : gvta.rc
$(BCDIR)\bin\brc32.exe -r Alert.rc

Databaselab2002
 
Posts: 142
Joined: Sun Oct 09, 2005 1:36 am

Postby Antonio Linares » Sun Nov 26, 2006 9:22 am

> me esta dando error de sintaxis

Que error exactamente te aparece ?
regards, saludos

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

Postby Databaselab2002 » Sun Nov 26, 2006 1:23 pm

Estimado Antonio


en estas lineas y subsiguientes me da command syntax error


Echo $(BCDIR)\bin\c0w32.obj + > b32.bc
echo obj\Gvta.OBJ obj\Clientes.OBJ obj\CLIVen.OBJ obj\condicuo.OBJ, + > b32.bc
echo obj\rubros.OBJ obj\tipocli.OBJ obj\zonas.OBJ obj\EXPRESOS.OBJ, + > b32.bc
echo obj\fpagos.OBJ obj\alm.OBJ obj\libre.OBJ obj\PROVEEDO.OBJ, + > b32.bc
echo obj\codiva.OBJ obj\monedas.OBJ obj\CLIPROVI.OBJ obj\TIPART.OBJ , + > b32.bc
echo obj\GARTIC.OBJ obj\TUNI.OBJ obj\marcas.OBJ obj\COLORES.OBJ , + > b32.bc
echo obj\tipcb.OBJ obj\BANCO.OBJ obj\tipmcb.OBJ obj\zoomprov.OBJ, + > b32.bc
echo obj\genrep.OBJ obj\ZOOMEXP.OBJ obj\ZOOMCVE.OBJ obj\REPRUB.OBJ , + > b32.bc



Gracias
Saludos
Fabian
Databaselab2002
 
Posts: 142
Joined: Sun Oct 09, 2005 1:36 am

Postby Antonio Linares » Sun Nov 26, 2006 3:21 pm

Fabian,

Ojo que a partir de la segunda debes usar >> en vez de >
regards, saludos

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


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 101 guests