#Borland make sample, (c) FiveTech Software 2005-2009
HBDIR=c:\harbour
BCDIR=c:\bcc582
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 = \
maincta.PRG \
rut_fic.PRG \
fseek.PRG \
mntctcaj.PRG \
reindex.PRG \
mntctliq.PRG \
mntpro.PRG \
mntser.PRG \
mntacr.PRG \
concob.PRG \
contic.PRG \
confac.PRG \
facser.PRG \
concon.PRG \
impfac.PRG \
timprime.PRG \
utilprn.PRG \
serpre.PRG \
inftic.PRG \
inffac.PRG \
mntcli.PRG \
gencom.PRG \
gesusu.PRG
C = \
PROJECT : HLVCTA.exe
hlvcta.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) scrcta.res
echo off
echo $(BCDIR)\bin\c0w32.obj + > b32.bc
echo obj\maincta.obj obj\rut_fic.obj obj\fseek.obj obj\mntctcaj.obj obj\reindex.obj obj\mntctliq.obj + >> b32.bc
echo obj\mntpro.obj obj\mntser.obj obj\mntacr.obj obj\concob.obj obj\contic.obj obj\confac.obj obj\facser.obj + >> b32.bc
echo obj\concon.obj obj\impfac.obj obj\utilprn.obj obj\timprime.obj obj\serpre.obj obj\inftic.obj obj\inffac.obj + >> b32.bc
echo obj\mntcli.obj obj\gencom.obj obj\gesusu.obj, + >> b32.bc
echo hlvcta.exe, + >> b32.bc
echo hlvcta.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\psdk\psapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\psapi.lib + >> b32.bc
rem Uncomment these two lines to use Advantage RDD
rem echo $(HBDIR)\lib\rddads.lib + >> b32.bc
rem echo $(HBDIR)\lib\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\msimg32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc
rem IF EXIST scrcta.res echo scrcta.res >> b32.bc
rem $(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
rem del b32.bc
.PRG.OBJ:
$(HBDIR)\bin\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
scrcta.res : scrcta.rc
$(BCDIR)\bin\brc32.exe -r scrcta.rc
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: Google [Bot] and 83 guests