#Borland make sample, (c) FiveTech Software 2005-2009
HBDIR=c:\software\harbour
BCDIR=c:\progra~1\borland\bcc7732
FWDIR=c:\software\fwharb
#change these paths as needed
.path.OBJ = .\obj
.path.PRG = .\
.path.CH = $(FWDIR)\include;$(HBDIR)\include
.path.C = .\
.path.RC = .\
#important: Use Uppercase for filenames extensions, in the next two rules!
PRG = \
BEHAGEN1.PRG \
BEHAGEN2.PRG \
BEHBOEK1.PRG \
BEHBOEK2.PRG \
BEHDOSS1.PRG \
BEHDOSS2.PRG \
BEHINTRX.PRG \
BEHPAAND.PRG \
BEHPARAM.PRG \
BEHPRARC.PRG \
BEHSOOR1.PRG \
BEHSOOR2.PRG \
BEHUSER.PRG \
DOCWP1.PRG \
DOCWP2.PRG \
FGEGTL1.PRG \
FGEGTL2.PRG \
JUDA.PRG \
MAKEIND.PRG \
RAPAGPRE.PRG \
RAPDOSBH.PRG \
Z-ERROR1.PRG \
Z-RPREV.PRG \
Z-WBROWS.PRG
C = \
BEHAGEN1.C \
BEHAGEN2.C \
BEHBOEK1.C \
BEHBOEK2.C \
BEHDOSS1.C \
BEHDOSS2.C \
BEHINTRX.C \
BEHPAAND.C \
BEHPARAM.C \
BEHPRARC.C \
BEHSOOR1.C \
BEHSOOR2.C \
BEHUSER.C \
DOCWP1.C \
DOCWP2.C \
FGEGTL1.C \
FGEGTL2.C \
JUDA.C \
MAKEIND.C \
RAPAGPRE.C \
RAPDOSBH.C \
Z-ERROR1.C \
Z-RPREV.C \
Z-WBROWS.C
OBJ = $(PRGS:.PRG=.\OBJ)
OBJS = $(OBJ:.\=.\obj\)
PROJECT : JUDA_2.EXE
#RES-file wordt door COMPRES.BAT aangemaakt
#JUDA_2.EXE : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) JUDA.RES
JUDA_2.EXE : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ)
echo off
echo $(BCDIR)\lib\c0w32.obj + > b32.bc
# echo $(OBJS), + >> b32.bc
echo OBJ\BEHAGEN1.OBJ + >> b32.bc
echo OBJ\BEHAGEN2.OBJ + >> b32.bc
echo OBJ\BEHBOEK1.OBJ + >> b32.bc
echo OBJ\BEHBOEK2.OBJ + >> b32.bc
echo OBJ\BEHDOSS1.OBJ + >> b32.bc
echo OBJ\BEHDOSS2.OBJ + >> b32.bc
echo OBJ\BEHINTRX.OBJ + >> b32.bc
echo OBJ\BEHPAAND.OBJ + >> b32.bc
echo OBJ\BEHPARAM.OBJ + >> b32.bc
echo OBJ\BEHPRARC.OBJ + >> b32.bc
echo OBJ\BEHSOOR1.OBJ + >> b32.bc
echo OBJ\BEHSOOR2.OBJ + >> b32.bc
echo OBJ\BEHUSER.OBJ + >> b32.bc
echo OBJ\DOCWP1.OBJ + >> b32.bc
echo OBJ\DOCWP2.OBJ + >> b32.bc
echo OBJ\FGEGTL1.OBJ + >> b32.bc
echo OBJ\FGEGTL2.OBJ + >> b32.bc
echo OBJ\JUDA.OBJ + >> b32.bc
echo OBJ\MAKEIND.OBJ + >> b32.bc
echo OBJ\RAPAGPRE.OBJ + >> b32.bc
echo OBJ\RAPDOSBH.OBJ + >> b32.bc
echo OBJ\Z-ERROR1.OBJ + >> b32.bc
echo OBJ\Z-RPREV.OBJ + >> b32.bc
echo OBJ\Z-WBROWS.OBJ, + >> b32.bc
echo JUDA_2.EXE, + >> b32.bc
echo JUDA_2.MAP, + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbrtl.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbvm.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hblang.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbmacro.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbrdd.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\rddntx.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\rddcdx.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\rddfpt.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbdebug.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbcommon.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbpp.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbwin.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbcpage.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbct.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\png.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbcplr.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\xhb.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbtip.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbzlib.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbmzip.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbziparc.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\minizip.lib + >> b32.bc
echo $(HBDIR)\lib\win\bcc\hbpcre.lib + >> b32.bc
echo $(BCDIR)\lib\cw32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\uuid.lib + >> b32.bc
echo $(BCDIR)\lib\import32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\ws2_32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\wininet.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
echo $(BCDIR)\lib\psdk\gdiplus.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\shell32.lib, >> b32.bc
IF EXIST ..\RES\JUDA.RES echo ..\RES\JUDA.RES >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
.PRG.OBJ:
$(HBDIR)\bin\harbour $< /N /W0 /V /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
#RES-file wordt door COMPRES.BAT aangemaakt
#JUDA.RES : ..\RES\JUDA.RC
# $(BCDIR)\bin\brc32.exe -r ..\RES\JUDA.RC
Fatal: Unable to open file 'UUID.LIB'
** error 2 ** deleting JUDA_2.EXE
Could Not Find M:\SOFTWARE\JUDA\PRG\*.MAP
Could Not Find M:\SOFTWARE\JUDA\PRG\*.TDS
driessen wrote:Hello,
Which cfg-files? As far as I know, I don't use cfg-files.
c:\BCC77\bin
28/10/2023 12:03 137 bcc32.cfg
18/11/2023 09:34 49 ILINK32.CFG
-I@\..\include\windows\crtl;@\..\include\windows\sdk;@\..\include\dinkumware
-O
-O1
-OS
-Ob
-Oc
-Ov
-c
-d
-g0
-k-
-v-
-w
-w!
-w-inl
-w-pro
-Gn
-aa
-x
-Gn
-Lc:\bcc77\lib;c:\bcc77\lib\psdk
-aa
-x
driessen wrote:This is the content of my current bcc32.cfg:
- Code: Select all Expand view
-I@\..\include\windows\crtl;@\..\include\windows\sdk;@\..\include\dinkumware
-O
-O1
-OS
-Ob
-Oc
-Ov
-c
-d
-g0
-k-
-v-
-w
-w!
-w-inl
-w-pro
This is the content of my current ilink32.cfg:
- Code: Select all Expand view
-Gn
-aa
-x
To my opinion, everything is ok.
echo -L%bcdir%\lib;%bcdir%\lib\psdk + > b32.bc
echo %bcdir%\lib\c0w32.obj + >> b32.bc
echo $(BCDIR)\lib\c0w32.obj + > b32.bc
echo -L%bcdir%\lib;%bcdir%\lib\psdk + > b32.bc
echo %bcdir%\lib\c0w32.obj + >> b32.bc
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 91 guests