Sr. Linars
Aqui los Cambios
#Borland make sample, (c) FiveTech Software 2005
HBDIR=c:\xHarb27f
BCDIR=c:\bc5527
FWDIR=c:\fwh27F
RGDIR=c:\rglib
#change these paths as needed
.path.PRG = $(RGDIR)\fuentes
.path.OBJ = $(RGDIR)\obj
.path.CH = $(FWDIR)\include;$(HBDIR)\include;$(RGDIR)\include
.path.C = $(RGDIR)\fuentes
.path.rc = $(RGDIR)\fuentes
#important: Use Uppercase for filenames extensions, in the next two rules!
PRG = \
testsis.PRG \
factura.PRG \
systab.PRG \
mantcata.PRG \
tsys.PRG \
ttable.PRG \
tfield.PRG \
tindex.PRG \
tmaint.PRG \
maint_.PRG \
fnext.PRG \
xfer.PRG \
tdetail.PRG \
tcbrowse.PRG \
rgflib.PRG
C = \
rgfuncs.C
PROJECT : Testsis.exe
Testsis.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) Testsis.res
echo off
echo $(BCDIR)\bin\c0w32.obj + > b32.bc
echo obj\testsis.obj obj\factura.obj obj\systab.obj, + >> b32.bc
echo obj\mantcata.obj obj\tsys.obj obj\ttable.obj, + >> b32.bc
echo obj\tfield.obj obj\tindex.obj obj\tmaint.obj, + >> b32.bc
echo obj\maint_.obj obj\fnext.obj obj\xfer.obj, + >> b32.bc
echo obj\tdetail.obj obj\tcbrowse.obj obj\rgflib.obj, + >> b32.bc
echo obj\rgfuncs.obj, + >> b32.bc
echo Testsis.exe, + >> b32.bc
echo testsis.map, + >> b32.bc
echo $(FWDIR)\lib\FiveHX.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\dbffpt.lib + >> b32.bc
echo $(HBDIR)\lib\b32\hbsix.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 Testsis.res echo Testsis.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
del b32.bc
.PRG.OBJ:
$(HBDIR)\bin\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include;$(RGDIR)\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
Testsis.res : Testsis.rc
$(BCDIR)\bin\brc32.exe -r Testsis.rc