Dear all,
I use xHb.com + FWH 8.04. The problem is my .RC file is too big and I split to 2 files. How can I add 2 files to xBuilder?
My big problem now.
Regards,
Dutch
#Borland make sample, (c) FiveTech Software 2005
HBDIR=d:\xharbour
BCDIR=d:\bcc55
FWDIR=d:\fwh
# change path if needed
# --------------------------
.path.OBJ = .\obj
.path.PRG = .\
.path.CH = $(FWDIR)\include;$(HBDIR)\include
.path.C = .\
.path.rc = .\
# PRG-Files
PRG = \
bos32.PRG \
...
...
...
fwcalen.PRG \
tcalenda.PRG
# C-files
# C = \
# two.C
PROJECT : Bos32.exe
Bos32.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) Masken32.res
echo off
echo $(BCDIR)\bin\c0w32.obj + > b32.bc
# OBJ-Liste
# -------------
echo obj\bos32.obj \
....
....
obj\errsysw.obj \
obj\fwcalen.obj \
obj\tcalenda.obj, + >> b32.bc
echo Bos32.exe, + >> b32.bc
echo Bos32.map, + >> b32.bc
# Fivewin Lib`s für xHARBOUR
# --------------------------------------
echo $(FWDIR)\lib\Fivehx.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
# xHARBOUR-Lib`s
# -----------------------
echo $(HBDIR)\lib\rtl.lib + >> b32.bc
echo $(HBDIR)\lib\vm.lib + >> b32.bc
echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\lang.lib + >> b32.bc
echo $(HBDIR)\lib\macro.lib + >> b32.bc
echo $(HBDIR)\lib\rdd.lib + >> b32.bc
echo $(HBDIR)\lib\dbfntx.lib + >> b32.bc
echo $(HBDIR)\lib\dbfcdx.lib + >> b32.bc
echo $(HBDIR)\lib\dbffpt.lib + >> b32.bc
echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\debug.lib + >> b32.bc
echo $(HBDIR)\lib\common.lib + >> b32.bc
echo $(HBDIR)\lib\pp.lib + >> b32.bc
echo $(HBDIR)\lib\codepage.lib + >> b32.bc
echo $(HBDIR)\lib\pcrepos.lib + >> b32.bc
# Uncomment these two lines to use Advantage RDD
# echo $(HBDIR)\lib\rddads.lib + >> b32.bc
# 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\rasapi32.lib, >> b32.bc
IF EXIST Masken32.res echo Masken32.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc
del b32.bc
.PRG.OBJ:
$(HBDIR)\bin\harbour $< /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include > clip.log
$(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
Masken32.res : Masken32.rc
$(BCDIR)\bin\brc32.exe -r Masken32.rc
COPY FILE1.RC+FILE2.RC+FILE3.RC+FILE4.RC+FILE5.RC+FILE6.RC+MANIFEST.RC RESOURCE.RC
C:\PROGRA~1\BORLAND\BCC55\BIN\BRC32.EXE -R RESOURCE.RC
#ifdef __FLAT__
1 24 "WindowsXP.Manifest"
#endif
Colin Wisbey wrote:Dutch,
I use 2 RC files for each app - 1 contains stuff specific to the particular app, the other contains general stuff that is used by all my apps.
In Builder (Step 3, RC files), I just include both RC files. Works fine.
HTH.
Colin
/*********************************************
File: D:\V5\EZ4FO\EZ4FO.RC
Generated by Resource Builder (2.6.4.1).
*********************************************/
/*
OutputExt=res
*/
EASYFO ICON
MOVEABLE PURE LOADONCALL DISCARDABLE
LANGUAGE LANG_NEUTRAL, 0 <- this line
driessen wrote:Hello Dutch,
FILE1.RC till FILE6.RC are my RC-files, made by Resource Builder.
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 68 guests