Hola.
Antonio tendras uno generico tambien para xharbour?
gracias.
goosfancito wrote:Karina.
Tu script me tira este error:
Fatal: Too many MAP file names: Z:\xh\fwh\lib\FiveHC.lib
solo he cambiado los nombres de mi .prg.
Podes darme una mano?
gracias.
#Borland make sample, (c) FiveTech Software 2005-2014 With xHarbour
HDIRL=c:\XHB280714
BCDIR=c:\BCC582
FWDIR=c:\FWH1306
#change these paths as needed
.path.OBJ = .\obj
.path.PRG = .\
.path.CH = $(FWDIR)\include;$(HDIRL)\include
.path.C = .\
.path.rc = .\
#important: Use Uppercase for filenames extensions, in the next two rules!
PRG = \
.\TESTE.PRG \
.\DISPLAY.PRG
# Comentario
#REM ONE.PRG \
#REM TWO.PRG \
#REM THREE.PRG
OBJ=$(PRG:.prg=.obj)
OBJS=$(OBJ:.\=.\obj\)
C = \
TESTE.C \
DISPLAY.C
PROJECT : TESTE.exe
TESTE.exe : $(PRG:.PRG=.OBJ)
echo off
echo $(BCDIR)\lib\c0w32.obj + > b32.bc
echo OBJ\TESTE.obj + >> b32.bc
echo OBJ\DISPLAY.obj, + >> b32.bc
echo TESTE.exe, + >> b32.bc
echo TESTE.map, + >> b32.bc
echo $(FWDIR)\lib\FiveHx.lib + >> b32.bc
echo $(FWDIR)\lib\FiveHC.lib + >> b32.bc
echo $(HDIRL)\lib\rtl.lib + >> b32.bc
echo $(HDIRL)\lib\vm.lib + >> b32.bc
echo $(HDIRL)\lib\gtgui.lib + >> b32.bc
echo $(HDIRL)\lib\lang.lib + >> b32.bc
echo $(HDIRL)\lib\codepage.lib + >> b32.bc
echo $(HDIRL)\lib\macro.lib + >> b32.bc
echo $(HDIRL)\lib\rdd.lib + >> b32.bc
echo $(HDIRL)\lib\dbfntx.lib + >> b32.bc
echo $(HDIRL)\lib\dbfcdx.lib + >> b32.bc
echo $(HDIRL)\lib\dbffpt.lib + >> b32.bc
echo $(HDIRL)\lib\hbsix.lib + >> b32.bc
echo $(HDIRL)\lib\debug.lib + >> b32.bc
echo $(HDIRL)\lib\common.lib + >> b32.bc
echo $(HDIRL)\lib\pp.lib + >> b32.bc
echo $(HDIRL)\lib\pcrepos.lib + >> b32.bc
echo $(HDIRL)\lib\ct.lib + >> b32.bc
echo $(HDIRL)\lib\zlib.lib + >> b32.bc
echo $(HDIRL)\lib\hbzip.lib + >> b32.bc
echo $(HDIRL)\lib\libmisc.lib + >> b32.bc
echo $(HDIRL)\lib\tip.lib + >> b32.bc
echo $(HDIRL)\lib\png.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\psapi.lib + >> b32.bc
IF NOT EXIST TESTE.RES echo $(BCDIR)\lib\psdk\rasapi32.lib >> b32.bc
IF EXIST TESTE.RES echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc
IF EXIST TESTE.res echo TESTE.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
# IF EXIST DISPLAY.res echo DISPLAY.res >> b32.bc
# $(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
# del b32.bc
.PRG.OBJ:
$(HDIRL)\bin\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HDIRL)\include
$(BCDIR)\bin\bcc32 -c -tWM -I$(HDIRL)\include -oobj\$& obj\$&.c
.C.OBJ:
echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
echo -I$(HDIRL)\include;$(FWDIR)\include >> tmp
$(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
del tmp
TESTE.res : IF EXIST TESTE.rc
$(BCDIR)\bin\brc32.exe -r TESTE.rc
c:\BCC582\lib\c0w32.obj +
OBJ\TESTE.obj +
OBJ\DISPLAY.obj, +
TESTE.exe, +
TESTE.map, +
c:\FWH1306\lib\FiveHx.lib +
c:\FWH1306\lib\FiveHC.lib +
c:\XHB280714\lib\rtl.lib +
c:\XHB280714\lib\vm.lib +
c:\XHB280714\lib\gtgui.lib +
c:\XHB280714\lib\lang.lib +
c:\XHB280714\lib\codepage.lib +
c:\XHB280714\lib\macro.lib +
c:\XHB280714\lib\rdd.lib +
c:\XHB280714\lib\dbfntx.lib +
c:\XHB280714\lib\dbfcdx.lib +
c:\XHB280714\lib\dbffpt.lib +
c:\XHB280714\lib\hbsix.lib +
c:\XHB280714\lib\debug.lib +
c:\XHB280714\lib\common.lib +
c:\XHB280714\lib\pp.lib +
c:\XHB280714\lib\pcrepos.lib +
c:\XHB280714\lib\ct.lib +
c:\XHB280714\lib\zlib.lib +
c:\XHB280714\lib\hbzip.lib +
c:\XHB280714\lib\libmisc.lib +
c:\XHB280714\lib\tip.lib +
c:\XHB280714\lib\png.lib +
c:\BCC582\lib\cw32.lib +
c:\BCC582\lib\import32.lib +
c:\BCC582\lib\psdk\odbc32.lib +
c:\BCC582\lib\psdk\nddeapi.lib +
c:\BCC582\lib\psdk\iphlpapi.lib +
c:\BCC582\lib\psdk\msimg32.lib +
c:\BCC582\lib\psdk\psapi.lib +
c:\BCC582\lib\psdk\rasapi32.lib,
TESTE.res
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: Google [Bot] and 25 guests